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
instances and monomorphic functions for integral types.
Since: 2
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
Orphan instances
TextShow Int Source # | Since: 2 |
TextShow Int8 Source # | Since: 2 |
TextShow Int16 Source # | Since: 2 |
TextShow Int32 Source # | Since: 2 |
TextShow Int64 Source # | Since: 2 |
TextShow Integer Source # | Since: 2 |
TextShow Word Source # | Since: 2 |
TextShow Word8 Source # | Since: 2 |
TextShow Word16 Source # | Since: 2 |
TextShow Word32 Source # | Since: 2 |
TextShow Word64 Source # | Since: 2 |