text-show-instances-3.2: Additional instances for text-show

Copyright(C) 2014-2016 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 Identity is found in text-show, since it is a part of base-4.8.0.0 and later.
  • Instances for Compose, Product, and Sum are found in text-show, since they are part of base-4.9.0.0 and later.

Since: 2

Synopsis

Documentation

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

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

Since: 3

liftShowbReversePrec :: TextShow1 f => (Int -> a -> Builder) -> ([a] -> Builder) -> Int -> Reverse f a -> Builder Source

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

Since: 3