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

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

Text.Show.Text.Data.Monoid

Description

Monomorphic Show functions for Monoid-related newtypes.

Since: 0.3

Synopsis

Documentation

showbAllPrec :: Int -> All -> Builder Source

Convert an All value to a Builder with the given precedence.

Since: 0.3

showbAnyPrec :: Int -> Any -> Builder Source

Convert an Any value to a Builder with the given precedence.

Since: 0.3

showbDualPrecWith :: (Int -> a -> Builder) -> Int -> Dual a -> Builder Source

Convert a Dual value to a Builder with the given show function and precedence.

Since: 1

showbFirstPrecWith :: (Int -> a -> Builder) -> Int -> First a -> Builder Source

Convert a First value to a Builder with the given show function and precedence.

Since: 1

showbLastPrecWith :: (Int -> a -> Builder) -> Int -> Last a -> Builder Source

Convert a Last value to a Builder with the given show function and precedence.

Since: 1

showbProductPrecWith :: (Int -> a -> Builder) -> Int -> Product a -> Builder Source

Convert a Product value to a Builder with the given show function and precedence.

Since: 1

showbSumPrecWith :: (Int -> a -> Builder) -> Int -> Sum a -> Builder Source

Convert a Sum value to a Builder with the given show function and precedence.

Since: 1