text-show-instances-2: Additional instances for text-show

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

TextShow.Data.Functor.Trans

Description

Monomorphic TextShow functions for functor transformers. Note that an instance for the Identity transformer is found in text-show, since it is a part of base-4.8.0.0 and later.

Since: 2

Synopsis

Documentation

showbComposePrecWith :: (TextShow1 f, TextShow1 g) => (Int -> a -> Builder) -> Int -> Compose f g a -> Builder Source

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

Since: 2

showbConstantPrecWith :: (Int -> a -> Builder) -> Int -> Constant a b -> Builder Source

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

Since: 2

showbProductPrecWith :: (TextShow1 f, TextShow1 g) => (Int -> a -> Builder) -> Int -> Product f g a -> Builder Source

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

Since: 2

showbReversePrecWith :: TextShow1 f => (Int -> a -> Builder) -> Int -> Reverse f a -> Builder Source

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

Since: 2

showbSumPrecWith :: (TextShow1 f, TextShow1 g) => (Int -> a -> Builder) -> Int -> Sum f g a -> Builder Source

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

Since: 2