Copyright | (C) 2014-2016 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 integral types.
Since: 2
- showbIntPrec :: Int -> Int -> Builder
- showbInt8Prec :: Int -> Int8 -> Builder
- showbInt16Prec :: Int -> Int16 -> Builder
- showbInt32Prec :: Int -> Int32 -> Builder
- showbInt64Prec :: Int -> Int64 -> Builder
- showbIntegerPrec :: Int -> Integer -> Builder
- showbIntegralPrec :: Integral a => Int -> a -> Builder
- showbIntAtBase :: (Integral a, TextShow a) => a -> (Int -> Char) -> a -> Builder
- showbBin :: (Integral a, TextShow a) => a -> Builder
- showbHex :: (Integral a, TextShow a) => a -> Builder
- showbOct :: (Integral a, TextShow a) => a -> Builder
- showbWord :: Word -> Builder
- showbWord8 :: Word8 -> Builder
- showbWord16 :: Word16 -> Builder
- showbWord32 :: Word32 -> Builder
- showbWord64 :: Word64 -> Builder
Documentation
showbIntAtBase :: (Integral a, TextShow a) => a -> (Int -> Char) -> a -> Builder Source #
Shows a non-negative Integral
number using the base specified by the
first argument, and the character representation specified by the second.
Since: 2
showbBin :: (Integral a, TextShow a) => a -> Builder Source #
Show non-negative Integral
numbers in base 2.
Since: 2
showbHex :: (Integral a, TextShow a) => a -> Builder Source #
Show non-negative Integral
numbers in base 16.
Since: 2
showbOct :: (Integral a, TextShow a) => a -> Builder Source #
Show non-negative Integral
numbers in base 8.
Since: 2
showbWord8 :: Word8 -> Builder Source #
showbWord16 :: Word16 -> Builder Source #
showbWord32 :: Word32 -> Builder Source #
showbWord64 :: Word64 -> Builder Source #