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 # 

Methods

showbPrec :: Int -> ZipList a0 -> Builder Source #

showb :: ZipList a0 -> Builder Source #

showbList :: [ZipList a0] -> Builder Source #

showtPrec :: Int -> ZipList a0 -> Text Source #

showt :: ZipList a0 -> Text Source #

showtList :: [ZipList a0] -> Text Source #

showtlPrec :: Int -> ZipList a0 -> Text Source #

showtl :: ZipList a0 -> Text Source #

showtlList :: [ZipList a0] -> Text 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 # 

Methods

showbPrec :: Int -> Const * a b -> Builder Source #

showb :: Const * a b -> Builder Source #

showbList :: [Const * a b] -> Builder Source #

showtPrec :: Int -> Const * a b -> Text Source #

showt :: Const * a b -> Text Source #

showtList :: [Const * a b] -> Text Source #

showtlPrec :: Int -> Const * a b -> Text Source #

showtl :: Const * a b -> Text Source #

showtlList :: [Const * a b] -> Text Source #