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

Copyright(C) 2014-2017 Ryan Scott
LicenseBSD-style (see the file LICENSE)
MaintainerRyan Scott
StabilityProvisional
PortabilityGHC
Safe HaskellNone
LanguageHaskell2010

TextShow.Data.Integral

Contents

Description

TextShow instances and monomorphic functions for integral types.

Since: 2

Synopsis

Documentation

showbIntegralPrec :: Integral a => Int -> a -> Builder #

Convert an Integral type to a Builder with the given precedence.

Since: 2

showbIntAtBase :: (Integral a, TextShow a) => a -> (Int -> Char) -> a -> Builder #

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 #

Show non-negative Integral numbers in base 2.

Since: 2

showbHex :: (Integral a, TextShow a) => a -> Builder #

Show non-negative Integral numbers in base 16.

Since: 2

showbOct :: (Integral a, TextShow a) => a -> Builder #

Show non-negative Integral numbers in base 8.

Since: 2

Orphan instances

TextShow Int #

Since: 2

TextShow Int8 #

Since: 2

TextShow Int16 #

Since: 2

TextShow Int32 #

Since: 2

TextShow Int64 #

Since: 2

TextShow Integer #

Since: 2

TextShow Word #

Since: 2

TextShow Word8 #

Since: 2

TextShow Word16 #

Since: 2

TextShow Word32 #

Since: 2

TextShow Word64 #

Since: 2