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

Copyright(C) 2014-2017 Ryan Scott
LicenseBSD-style (see the file LICENSE)
MaintainerRyan Scott
StabilityProvisional
PortabilityGHC
Safe HaskellNone
LanguageHaskell2010

TextShow.Data.Semigroup

Contents

Description

TextShow instances for data types in the Data.Semigroup module.

Since: 3

Orphan instances

TextShow2 Arg #

Since: 3

Methods

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

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

TextShow1 Min #

Since: 3

Methods

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

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

TextShow1 Max #

Since: 3

Methods

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

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

TextShow1 First #

Since: 3

Methods

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

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

TextShow1 Last #

Since: 3

Methods

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

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

TextShow1 WrappedMonoid #

Since: 3

Methods

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

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

TextShow1 Option #

Since: 3

Methods

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

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

TextShow a0 => TextShow1 (Arg a0) #

Since: 3

Methods

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

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

TextShow a0 => TextShow (Min a0) #

Since: 3

Methods

showbPrec :: Int -> Min a0 -> Builder #

showb :: Min a0 -> Builder #

showbList :: [Min a0] -> Builder #

showtPrec :: Int -> Min a0 -> Text #

showt :: Min a0 -> Text #

showtList :: [Min a0] -> Text #

showtlPrec :: Int -> Min a0 -> Text #

showtl :: Min a0 -> Text #

showtlList :: [Min a0] -> Text #

TextShow a0 => TextShow (Max a0) #

Since: 3

Methods

showbPrec :: Int -> Max a0 -> Builder #

showb :: Max a0 -> Builder #

showbList :: [Max a0] -> Builder #

showtPrec :: Int -> Max a0 -> Text #

showt :: Max a0 -> Text #

showtList :: [Max a0] -> Text #

showtlPrec :: Int -> Max a0 -> Text #

showtl :: Max a0 -> Text #

showtlList :: [Max a0] -> Text #

TextShow a0 => TextShow (First a0) #

Since: 3

Methods

showbPrec :: Int -> First a0 -> Builder #

showb :: First a0 -> Builder #

showbList :: [First a0] -> Builder #

showtPrec :: Int -> First a0 -> Text #

showt :: First a0 -> Text #

showtList :: [First a0] -> Text #

showtlPrec :: Int -> First a0 -> Text #

showtl :: First a0 -> Text #

showtlList :: [First a0] -> Text #

TextShow a0 => TextShow (Last a0) #

Since: 3

Methods

showbPrec :: Int -> Last a0 -> Builder #

showb :: Last a0 -> Builder #

showbList :: [Last a0] -> Builder #

showtPrec :: Int -> Last a0 -> Text #

showt :: Last a0 -> Text #

showtList :: [Last a0] -> Text #

showtlPrec :: Int -> Last a0 -> Text #

showtl :: Last a0 -> Text #

showtlList :: [Last a0] -> Text #

TextShow m0 => TextShow (WrappedMonoid m0) #

Since: 3

TextShow a0 => TextShow (Option a0) #

Since: 3

Methods

showbPrec :: Int -> Option a0 -> Builder #

showb :: Option a0 -> Builder #

showbList :: [Option a0] -> Builder #

showtPrec :: Int -> Option a0 -> Text #

showt :: Option a0 -> Text #

showtList :: [Option a0] -> Text #

showtlPrec :: Int -> Option a0 -> Text #

showtl :: Option a0 -> Text #

showtlList :: [Option a0] -> Text #

(TextShow a0, TextShow b0) => TextShow (Arg a0 b0) #

Since: 3

Methods

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

showb :: Arg a0 b0 -> Builder #

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

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

showt :: Arg a0 b0 -> Text #

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

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

showtl :: Arg a0 b0 -> Text #

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