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.Data.Semigroup

Contents

Description

Monomorphic TextShow functions for data types in the Data.Semigroup module.

Since: 3

Synopsis

Documentation

liftShowbMinPrec :: (Int -> a -> Builder) -> Int -> Min a -> Builder Source #

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

Since: 3

liftShowbMaxPrec :: (Int -> a -> Builder) -> Int -> Max a -> Builder Source #

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

Since: 3

liftShowbFirstPrec :: (Int -> a -> Builder) -> Int -> First a -> Builder Source #

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

Since: 3

liftShowbLastPrec :: (Int -> a -> Builder) -> Int -> Last a -> Builder Source #

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

Since: 3

liftShowbWrappedMonoidPrec :: (Int -> m -> Builder) -> Int -> WrappedMonoid m -> Builder Source #

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

Since: 3

liftShowbOptionPrec :: (Int -> a -> Builder) -> Int -> Option a -> Builder Source #

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

Since: 3

liftShowbArgPrec2 :: (Int -> a -> Builder) -> (Int -> b -> Builder) -> Int -> Arg a b -> Builder Source #

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

Since: 3

Orphan instances

TextShow2 Arg Source # 

Methods

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

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

TextShow1 Min Source # 

Methods

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

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

TextShow1 Max Source # 

Methods

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

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

TextShow1 First Source # 

Methods

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

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

TextShow1 Last Source # 

Methods

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

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

TextShow1 WrappedMonoid Source # 

Methods

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

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

TextShow1 Option Source # 

Methods

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

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

TextShow a0 => TextShow1 (Arg a0) Source # 

Methods

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

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

TextShow a0 => TextShow (Min a0) Source # 
TextShow a0 => TextShow (Max a0) Source # 
TextShow a0 => TextShow (First a0) Source # 
TextShow a0 => TextShow (Last a0) Source # 
TextShow m0 => TextShow (WrappedMonoid m0) Source # 
TextShow a0 => TextShow (Option a0) Source # 
(TextShow a0, TextShow b0) => TextShow (Arg a0 b0) Source # 

Methods

showbPrec :: Int -> Arg a0 b0 -> Builder Source #

showb :: Arg a0 b0 -> Builder Source #

showbList :: [Arg a0 b0] -> Builder Source #

showtPrec :: Int -> Arg a0 b0 -> Text Source #

showt :: Arg a0 b0 -> Text Source #

showtList :: [Arg a0 b0] -> Text Source #

showtlPrec :: Int -> Arg a0 b0 -> Text Source #

showtl :: Arg a0 b0 -> Text Source #

showtlList :: [Arg a0 b0] -> Text Source #