text-show-3.9.7: 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

Description

TextShow instances and monomorphic functions for integral types.

Since: 2

Synopsis

Documentation

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

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

Since: 2

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

Instance details

TextShow Int8 Source #

Since: 2

Instance details

TextShow Int16 Source #

Since: 2

Instance details

TextShow Int32 Source #

Since: 2

Instance details

TextShow Int64 Source #

Since: 2

Instance details

TextShow Integer Source #

Since: 2

Instance details

TextShow Word Source #

Since: 2

Instance details

TextShow Word8 Source #

Since: 2

Instance details

TextShow Word16 Source #

Since: 2

Instance details

TextShow Word32 Source #

Since: 2

Instance details

TextShow Word64 Source #

Since: 2

Instance details