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

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.Data.Fixed

Contents

- Orphan instances

Description

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

Since: 2

Synopsis

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

# 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
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 #