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

Copyright(C) 2014 Ryan Scott
LicenseBSD-style (see the file LICENSE)
MaintainerRyan Scott
StabilityExperimental
PortabilityGHC
Safe HaskellNone
LanguageHaskell98

Text.Show.Text.GHC.Generics

Description

Monomorphic Show functions for generics-related data types.

Synopsis

Documentation

showbU1 :: U1 p -> Builder Source

Convert a U1 value to a Builder.

showbPar1Prec :: Show p => Int -> Par1 p -> Builder Source

Convert a Par1 value to a Builder with the given precedence.

showbRec1Prec :: Show (f p) => Int -> Rec1 f p -> Builder Source

Convert a Rec1 value to a Builder with the given precedence.

showbK1Prec :: Show c => Int -> K1 i c p -> Builder Source

Convert a K1 value to a Builder with the given precedence.

showbM1Prec :: Show (f p) => Int -> M1 i c f p -> Builder Source

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

showbSumTypePrec :: (Show (f p), Show (g p)) => Int -> (f :+: g) p -> Builder Source

Convert a '(:+:)' value to a Builder with the given precedence.

showbProductTypePrec :: (Show (f p), Show (g p)) => Int -> (f :*: g) p -> Builder Source

Convert an '(:*:)' value to a Builder with the given precedence.

showbCompFunctorsPrec :: Show (f (g p)) => Int -> (f :.: g) p -> Builder Source

Convert an '(:.:)' value to a Builder with the given precedence.

showbFixityPrec :: Int -> Fixity -> Builder Source

Convert a Fixity value to a Builder with the given precedence.

showbArityPrec :: Int -> Arity -> Builder Source

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