Copyright | (C) 2014-2015 Ryan Scott |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Ryan Scott |
Stability | Experimental |
Portability | GHC |
Safe Haskell | None |
Language | Haskell98 |
Monomorphic Show
functions for integral types.
Since: 0.3
- 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, Show a) => a -> (Int -> Char) -> a -> Builder
- showbBin :: (Integral a, Show a) => a -> Builder
- showbHex :: (Integral a, Show a) => a -> Builder
- showbOct :: (Integral a, Show a) => a -> Builder
- showbWord :: Word -> Builder
- showbWord8 :: Word8 -> Builder
- showbWord16 :: Word16 -> Builder
- showbWord32 :: Word32 -> Builder
- showbWord64 :: Word64 -> Builder
Documentation
showbIntPrec :: Int -> Int -> Builder Source
showbInt8Prec :: Int -> Int8 -> Builder Source
showbInt16Prec :: Int -> Int16 -> Builder Source
showbInt32Prec :: Int -> Int32 -> Builder Source
showbInt64Prec :: Int -> Int64 -> Builder Source
showbIntegerPrec :: Int -> Integer -> Builder Source
showbIntegralPrec :: Integral a => Int -> a -> Builder Source
showbIntAtBase :: (Integral a, Show 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: 0.3
showbBin :: (Integral a, Show a) => a -> Builder Source
Show non-negative Integral
numbers in base 2.
Since: 0.3
showbHex :: (Integral a, Show a) => a -> Builder Source
Show non-negative Integral
numbers in base 16.
Since: 0.3
showbOct :: (Integral a, Show a) => a -> Builder Source
Show non-negative Integral
numbers in base 8.
Since: 0.3
showbWord8 :: Word8 -> Builder Source
showbWord16 :: Word16 -> Builder Source
showbWord32 :: Word32 -> Builder Source