text-show-2.1.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

TextShow.Data.Monoid

Description

Monomorphic Show functions for Monoid-related newtypes.

Since: 2

Synopsis

Documentation

showbAllPrec :: Int -> All -> Builder Source

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

Since: 2

showbAnyPrec :: Int -> Any -> Builder Source

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

Since: 2

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

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

Since: 2

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

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

Since: 2

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

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

Since: 2

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

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

Since: 2

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

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

Since: 2