text-show-3.8.5: 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.Fixed

Description

Provides TextShow instance for Fixed, as well as the showbFixed function.

Since: 2

Synopsis

Documentation

showbFixed :: HasResolution a => Bool -> Fixed a -> Builder Source #

Convert a Fixed value to a Builder, where the first argument indicates whether to chop off trailing zeroes.

Since: 2

Orphan instances

HasResolution a => TextShow (Fixed a) Source #

Since: 2

Instance details

Methods

showbPrec :: Int -> Fixed a -> Builder Source #

showb :: Fixed a -> Builder Source #

showbList :: [Fixed a] -> Builder Source #

showtPrec :: Int -> Fixed a -> Text Source #

showt :: Fixed a -> Text Source #

showtList :: [Fixed a] -> Text Source #

showtlPrec :: Int -> Fixed a -> Text Source #

showtl :: Fixed a -> Text Source #

showtlList :: [Fixed a] -> Text Source #