text-show-3.4.1.1: 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.Control.Applicative

Contents

Description

Monomorphic TextShow functions for Const and ZipList.

Since: 2

Synopsis

Documentation

liftShowbConstPrec :: (Int -> a -> Builder) -> Int -> Const a b -> Builder Source #

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

Since: 3

liftShowbZipListPrec :: ([a] -> Builder) -> Int -> ZipList a -> Builder Source #

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

Since: 3

Orphan instances

TextShow1 ZipList Source # 

Methods

liftShowbPrec :: (Int -> a -> Builder) -> ([a] -> Builder) -> Int -> ZipList a -> Builder Source #

liftShowbList :: (Int -> a -> Builder) -> ([a] -> Builder) -> [ZipList a] -> Builder Source #

TextShow2 (Const *) Source # 

Methods

liftShowbPrec2 :: (Int -> a -> Builder) -> ([a] -> Builder) -> (Int -> b -> Builder) -> ([b] -> Builder) -> Int -> Const * a b -> Builder Source #

liftShowbList2 :: (Int -> a -> Builder) -> ([a] -> Builder) -> (Int -> b -> Builder) -> ([b] -> Builder) -> [Const * a b] -> Builder Source #

TextShow a0 => TextShow (ZipList a0) Source # 
TextShow a => TextShow1 (Const * a) Source # 

Methods

liftShowbPrec :: (Int -> a -> Builder) -> ([a] -> Builder) -> Int -> Const * a a -> Builder Source #

liftShowbList :: (Int -> a -> Builder) -> ([a] -> Builder) -> [Const * a a] -> Builder Source #

TextShow a => TextShow (Const * a b) Source #