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.Monoid

Contents

Description

TextShow instances for Monoid-related newtypes.

Since: 2

Orphan instances

TextShow1 Dual #

Since: 2

Methods

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

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

TextShow1 Sum #

Since: 2

Methods

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

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

TextShow1 Product #

Since: 2

Methods

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

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

TextShow1 First #

Since: 2

Methods

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

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

TextShow1 Last #

Since: 2

Methods

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

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

TextShow All #

Since: 2

TextShow Any #

Since: 2

TextShow a0 => TextShow (Dual a0) #

Since: 2

Methods

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

showb :: Dual a0 -> Builder #

showbList :: [Dual a0] -> Builder #

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

showt :: Dual a0 -> Text #

showtList :: [Dual a0] -> Text #

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

showtl :: Dual a0 -> Text #

showtlList :: [Dual a0] -> Text #

TextShow a0 => TextShow (Sum a0) #

Since: 2

Methods

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

showb :: Sum a0 -> Builder #

showbList :: [Sum a0] -> Builder #

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

showt :: Sum a0 -> Text #

showtList :: [Sum a0] -> Text #

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

showtl :: Sum a0 -> Text #

showtlList :: [Sum a0] -> Text #

TextShow a0 => TextShow (Product a0) #

Since: 2

Methods

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

showb :: Product a0 -> Builder #

showbList :: [Product a0] -> Builder #

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

showt :: Product a0 -> Text #

showtList :: [Product a0] -> Text #

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

showtl :: Product a0 -> Text #

showtlList :: [Product a0] -> Text #

TextShow a0 => TextShow (First a0) #

Since: 2

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: 2

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 #

TextShow1 f0 => TextShow1 (Alt * f0) #

Only available with base-4.8.0.0 or later.

Since: 2

Methods

liftShowbPrec :: (Int -> a -> Builder) -> ([a] -> Builder) -> Int -> Alt * f0 a -> Builder #

liftShowbList :: (Int -> a -> Builder) -> ([a] -> Builder) -> [Alt * f0 a] -> Builder #

TextShow (f a) => TextShow (Alt * f a) #

Only available with base-4.8.0.0 or later.

Since: 2

Methods

showbPrec :: Int -> Alt * f a -> Builder #

showb :: Alt * f a -> Builder #

showbList :: [Alt * f a] -> Builder #

showtPrec :: Int -> Alt * f a -> Text #

showt :: Alt * f a -> Text #

showtList :: [Alt * f a] -> Text #

showtlPrec :: Int -> Alt * f a -> Text #

showtl :: Alt * f a -> Text #

showtlList :: [Alt * f a] -> Text #