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

Copyright(C) 2014-2016 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

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

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

Since: 3

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

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

Since: 3

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

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

Since: 3

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

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

Since: 3

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

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

Since: 3

showbAltPrec :: TextShow (f a) => Int -> Alt f a -> Builder Source

Convert an Alt value to a Builder with the given precedence. This function is only available with base-4.8.0.0 or later.

Since: 2

liftShowbAltPrec :: TextShow1 f => (Int -> a -> Builder) -> ([a] -> Builder) -> Int -> Alt f a -> Builder Source

Convert an Alt value to a Builder with the given show function and precedence. This function is only available with base-4.8.0.0 or later.

Since: 3