text-show-3.6: Efficient conversion of values into Text

Copyright | (C) 2014-2017 Ryan Scott
License | BSD-style (see the file LICENSE)
Maintainer | Ryan Scott
Stability | Provisional
Portability | GHC
Safe Haskell | None
Language | Haskell2010

TextShow.Foreign.C.Types

Contents

- Orphan instances

Description

`TextShow` instances for Haskell newtypes corresponding to C types in the Foreign Function Interface (FFI).

Since: 2

# Orphan instances

TextShow CChar Source # |
Methods showbPrec :: Int -> CChar -> Builder Source # showb :: CChar -> Builder Source # showbList :: [CChar] -> Builder Source # showtPrec :: Int -> CChar -> Text Source # showt :: CChar -> Text Source # showtList :: [CChar] -> Text Source # showtlPrec :: Int -> CChar -> Text Source # showtl :: CChar -> Text Source # showtlList :: [CChar] -> Text Source #
TextShow CSChar Source # |
Methods showbPrec :: Int -> CSChar -> Builder Source # showb :: CSChar -> Builder Source # showbList :: [CSChar] -> Builder Source # showtPrec :: Int -> CSChar -> Text Source # showt :: CSChar -> Text Source # showtList :: [CSChar] -> Text Source # showtlPrec :: Int -> CSChar -> Text Source # showtl :: CSChar -> Text Source # showtlList :: [CSChar] -> Text Source #
TextShow CUChar Source # |
Methods showbPrec :: Int -> CUChar -> Builder Source # showb :: CUChar -> Builder Source # showbList :: [CUChar] -> Builder Source # showtPrec :: Int -> CUChar -> Text Source # showt :: CUChar -> Text Source # showtList :: [CUChar] -> Text Source # showtlPrec :: Int -> CUChar -> Text Source # showtl :: CUChar -> Text Source # showtlList :: [CUChar] -> Text Source #
TextShow CShort Source # |
Methods showbPrec :: Int -> CShort -> Builder Source # showb :: CShort -> Builder Source # showbList :: [CShort] -> Builder Source # showtPrec :: Int -> CShort -> Text Source # showt :: CShort -> Text Source # showtList :: [CShort] -> Text Source # showtlPrec :: Int -> CShort -> Text Source # showtl :: CShort -> Text Source # showtlList :: [CShort] -> Text Source #
TextShow CUShort Source # |
Methods showbPrec :: Int -> CUShort -> Builder Source # showb :: CUShort -> Builder Source # showbList :: [CUShort] -> Builder Source # showtPrec :: Int -> CUShort -> Text Source # showt :: CUShort -> Text Source # showtList :: [CUShort] -> Text Source # showtlPrec :: Int -> CUShort -> Text Source # showtl :: CUShort -> Text Source # showtlList :: [CUShort] -> Text Source #
TextShow CInt Source # |
Methods showbPrec :: Int -> CInt -> Builder Source # showb :: CInt -> Builder Source # showbList :: [CInt] -> Builder Source # showtPrec :: Int -> CInt -> Text Source # showt :: CInt -> Text Source # showtList :: [CInt] -> Text Source # showtlPrec :: Int -> CInt -> Text Source # showtl :: CInt -> Text Source # showtlList :: [CInt] -> Text Source #
TextShow CUInt Source # |
Methods showbPrec :: Int -> CUInt -> Builder Source # showb :: CUInt -> Builder Source # showbList :: [CUInt] -> Builder Source # showtPrec :: Int -> CUInt -> Text Source # showt :: CUInt -> Text Source # showtList :: [CUInt] -> Text Source # showtlPrec :: Int -> CUInt -> Text Source # showtl :: CUInt -> Text Source # showtlList :: [CUInt] -> Text Source #
TextShow CLong Source # |
Methods showbPrec :: Int -> CLong -> Builder Source # showb :: CLong -> Builder Source # showbList :: [CLong] -> Builder Source # showtPrec :: Int -> CLong -> Text Source # showt :: CLong -> Text Source # showtList :: [CLong] -> Text Source # showtlPrec :: Int -> CLong -> Text Source # showtl :: CLong -> Text Source # showtlList :: [CLong] -> Text Source #
TextShow CULong Source # |
Methods showbPrec :: Int -> CULong -> Builder Source # showb :: CULong -> Builder Source # showbList :: [CULong] -> Builder Source # showtPrec :: Int -> CULong -> Text Source # showt :: CULong -> Text Source # showtList :: [CULong] -> Text Source # showtlPrec :: Int -> CULong -> Text Source # showtl :: CULong -> Text Source # showtlList :: [CULong] -> Text Source #
TextShow CLLong Source # |
Methods showbPrec :: Int -> CLLong -> Builder Source # showb :: CLLong -> Builder Source # showbList :: [CLLong] -> Builder Source # showtPrec :: Int -> CLLong -> Text Source # showt :: CLLong -> Text Source # showtList :: [CLLong] -> Text Source # showtlPrec :: Int -> CLLong -> Text Source # showtl :: CLLong -> Text Source # showtlList :: [CLLong] -> Text Source #
TextShow CULLong Source # |
Methods showbPrec :: Int -> CULLong -> Builder Source # showb :: CULLong -> Builder Source # showbList :: [CULLong] -> Builder Source # showtPrec :: Int -> CULLong -> Text Source # showt :: CULLong -> Text Source # showtList :: [CULLong] -> Text Source # showtlPrec :: Int -> CULLong -> Text Source # showtl :: CULLong -> Text Source # showtlList :: [CULLong] -> Text Source #
TextShow CFloat Source # |
Methods showbPrec :: Int -> CFloat -> Builder Source # showb :: CFloat -> Builder Source # showbList :: [CFloat] -> Builder Source # showtPrec :: Int -> CFloat -> Text Source # showt :: CFloat -> Text Source # showtList :: [CFloat] -> Text Source # showtlPrec :: Int -> CFloat -> Text Source # showtl :: CFloat -> Text Source # showtlList :: [CFloat] -> Text Source #
TextShow CDouble Source # |
Methods showbPrec :: Int -> CDouble -> Builder Source # showb :: CDouble -> Builder Source # showbList :: [CDouble] -> Builder Source # showtPrec :: Int -> CDouble -> Text Source # showt :: CDouble -> Text Source # showtList :: [CDouble] -> Text Source # showtlPrec :: Int -> CDouble -> Text Source # showtl :: CDouble -> Text Source # showtlList :: [CDouble] -> Text Source #
TextShow CPtrdiff Source # |
Methods showbPrec :: Int -> CPtrdiff -> Builder Source # showb :: CPtrdiff -> Builder Source # showbList :: [CPtrdiff] -> Builder Source # showtPrec :: Int -> CPtrdiff -> Text Source # showt :: CPtrdiff -> Text Source # showtList :: [CPtrdiff] -> Text Source # showtlPrec :: Int -> CPtrdiff -> Text Source # showtl :: CPtrdiff -> Text Source # showtlList :: [CPtrdiff] -> Text Source #
TextShow CSize Source # |
Methods showbPrec :: Int -> CSize -> Builder Source # showb :: CSize -> Builder Source # showbList :: [CSize] -> Builder Source # showtPrec :: Int -> CSize -> Text Source # showt :: CSize -> Text Source # showtList :: [CSize] -> Text Source # showtlPrec :: Int -> CSize -> Text Source # showtl :: CSize -> Text Source # showtlList :: [CSize] -> Text Source #
TextShow CWchar Source # |
Methods showbPrec :: Int -> CWchar -> Builder Source # showb :: CWchar -> Builder Source # showbList :: [CWchar] -> Builder Source # showtPrec :: Int -> CWchar -> Text Source # showt :: CWchar -> Text Source # showtList :: [CWchar] -> Text Source # showtlPrec :: Int -> CWchar -> Text Source # showtl :: CWchar -> Text Source # showtlList :: [CWchar] -> Text Source #
TextShow CSigAtomic Source # |

Methods

showbPrec :: Int -> CSigAtomic -> Builder Source #

showb :: CSigAtomic -> Builder Source #

showbList :: [CSigAtomic] -> Builder Source #

showtPrec :: Int -> CSigAtomic -> Text Source #

showt :: CSigAtomic -> Text Source #

showtList :: [CSigAtomic] -> Text Source #

showtlPrec :: Int -> CSigAtomic -> Text Source #

showtl :: CSigAtomic -> Text Source #

showtlList :: [CSigAtomic] -> Text Source #

TextShow CClock Source # |
Methods showbPrec :: Int -> CClock -> Builder Source # showb :: CClock -> Builder Source # showbList :: [CClock] -> Builder Source # showtPrec :: Int -> CClock -> Text Source # showt :: CClock -> Text Source # showtList :: [CClock] -> Text Source # showtlPrec :: Int -> CClock -> Text Source # showtl :: CClock -> Text Source # showtlList :: [CClock] -> Text Source #
TextShow CTime Source # |
Methods showbPrec :: Int -> CTime -> Builder Source # showb :: CTime -> Builder Source # showbList :: [CTime] -> Builder Source # showtPrec :: Int -> CTime -> Text Source # showt :: CTime -> Text Source # showtList :: [CTime] -> Text Source # showtlPrec :: Int -> CTime -> Text Source # showtl :: CTime -> Text Source # showtlList :: [CTime] -> Text Source #
TextShow CUSeconds Source # |
Methods showbPrec :: Int -> CUSeconds -> Builder Source # showb :: CUSeconds -> Builder Source # showbList :: [CUSeconds] -> Builder Source # showtPrec :: Int -> CUSeconds -> Text Source # showt :: CUSeconds -> Text Source # showtList :: [CUSeconds] -> Text Source # showtlPrec :: Int -> CUSeconds -> Text Source # showtl :: CUSeconds -> Text Source # showtlList :: [CUSeconds] -> Text Source #
TextShow CSUSeconds Source # |

Methods

showbPrec :: Int -> CSUSeconds -> Builder Source #

showb :: CSUSeconds -> Builder Source #

showbList :: [CSUSeconds] -> Builder Source #

showtPrec :: Int -> CSUSeconds -> Text Source #

showt :: CSUSeconds -> Text Source #

showtList :: [CSUSeconds] -> Text Source #

showtlPrec :: Int -> CSUSeconds -> Text Source #

showtl :: CSUSeconds -> Text Source #

showtlList :: [CSUSeconds] -> Text Source #

TextShow CIntPtr Source # |
Methods showbPrec :: Int -> CIntPtr -> Builder Source # showb :: CIntPtr -> Builder Source # showbList :: [CIntPtr] -> Builder Source # showtPrec :: Int -> CIntPtr -> Text Source # showt :: CIntPtr -> Text Source # showtList :: [CIntPtr] -> Text Source # showtlPrec :: Int -> CIntPtr -> Text Source # showtl :: CIntPtr -> Text Source # showtlList :: [CIntPtr] -> Text Source #
TextShow CUIntPtr Source # |
Methods showbPrec :: Int -> CUIntPtr -> Builder Source # showb :: CUIntPtr -> Builder Source # showbList :: [CUIntPtr] -> Builder Source # showtPrec :: Int -> CUIntPtr -> Text Source # showt :: CUIntPtr -> Text Source # showtList :: [CUIntPtr] -> Text Source # showtlPrec :: Int -> CUIntPtr -> Text Source # showtl :: CUIntPtr -> Text Source # showtlList :: [CUIntPtr] -> Text Source #
TextShow CIntMax Source # |
Methods showbPrec :: Int -> CIntMax -> Builder Source # showb :: CIntMax -> Builder Source # showbList :: [CIntMax] -> Builder Source # showtPrec :: Int -> CIntMax -> Text Source # showt :: CIntMax -> Text Source # showtList :: [CIntMax] -> Text Source # showtlPrec :: Int -> CIntMax -> Text Source # showtl :: CIntMax -> Text Source # showtlList :: [CIntMax] -> Text Source #
TextShow CUIntMax Source # |
Methods showbPrec :: Int -> CUIntMax -> Builder Source # showb :: CUIntMax -> Builder Source # showbList :: [CUIntMax] -> Builder Source # showtPrec :: Int -> CUIntMax -> Text Source # showt :: CUIntMax -> Text Source # showtList :: [CUIntMax] -> Text Source # showtlPrec :: Int -> CUIntMax -> Text Source # showtl :: CUIntMax -> Text Source # showtlList :: [CUIntMax] -> Text Source #