Copyright | (C) 2014-2015 Ryan Scott |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Ryan Scott |
Stability | Provisional |
Portability | GHC |
Safe Haskell | None |
Language | Haskell2010 |
Monomorphic TextShow
functions for Haskell newtypes corresponding to C
types in the Foreign Function Interface (FFI).
Since: 2
- showbCCharPrec :: Int -> CChar -> Builder
- showbCSCharPrec :: Int -> CSChar -> Builder
- showbCUChar :: CUChar -> Builder
- showbCShortPrec :: Int -> CShort -> Builder
- showbCUShort :: CUShort -> Builder
- showbCIntPrec :: Int -> CInt -> Builder
- showbCUInt :: CUInt -> Builder
- showbCLongPrec :: Int -> CLong -> Builder
- showbCULong :: CULong -> Builder
- showbCPtrdiffPrec :: Int -> CPtrdiff -> Builder
- showbCSize :: CSize -> Builder
- showbCWcharPrec :: Int -> CWchar -> Builder
- showbCSigAtomicPrec :: Int -> CSigAtomic -> Builder
- showbCLLongPrec :: Int -> CLLong -> Builder
- showbCULLong :: CULLong -> Builder
- showbCIntPtrPrec :: Int -> CIntPtr -> Builder
- showbCUIntPtr :: CUIntPtr -> Builder
- showbCIntMaxPrec :: Int -> CIntMax -> Builder
- showbCUIntMax :: CUIntMax -> Builder
- showbCClockPrec :: Int -> CClock -> Builder
- showbCTimePrec :: Int -> CTime -> Builder
- showbCUSeconds :: CUSeconds -> Builder
- showbCSUSecondsPrec :: Int -> CSUSeconds -> Builder
- showbCFloatPrec :: Int -> CFloat -> Builder
- showbCDoublePrec :: Int -> CDouble -> Builder
Documentation
showbCCharPrec :: Int -> CChar -> Builder Source
showbCSCharPrec :: Int -> CSChar -> Builder Source
showbCShortPrec :: Int -> CShort -> Builder Source
showbCIntPrec :: Int -> CInt -> Builder Source
showbCLongPrec :: Int -> CLong -> Builder Source
showbCPtrdiffPrec :: Int -> CPtrdiff -> Builder Source
showbCWcharPrec :: Int -> CWchar -> Builder Source
showbCSigAtomicPrec :: Int -> CSigAtomic -> Builder Source
Convert a CSigAtomic
to a Builder
with the given precedence.
Since: 2
showbCLLongPrec :: Int -> CLLong -> Builder Source
showbCIntPtrPrec :: Int -> CIntPtr -> Builder Source
showbCIntMaxPrec :: Int -> CIntMax -> Builder Source
showbCClockPrec :: Int -> CClock -> Builder Source
showbCTimePrec :: Int -> CTime -> Builder Source
showbCUSeconds :: CUSeconds -> Builder Source
showbCSUSecondsPrec :: Int -> CSUSeconds -> Builder Source
Convert a CSUSeconds
value to a Builder
with the given precedence.
This function is only available with base-4.4.0.0
or later.
Since: 2
showbCFloatPrec :: Int -> CFloat -> Builder Source