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 Source #

Since: 2

Methods

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

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

TextShow1 Sum Source #

Since: 2

Methods

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

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

TextShow1 Product Source #

Since: 2

Methods

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

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

TextShow1 First Source #

Since: 2

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 #

Since: 2

Methods

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

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

TextShow All Source #

Since: 2

Methods

showbPrec :: Int -> All -> Builder Source #

showb :: All -> Builder Source #

showbList :: [All] -> Builder Source #

showtPrec :: Int -> All -> Text Source #

showt :: All -> Text Source #

showtList :: [All] -> Text Source #

showtlPrec :: Int -> All -> Text Source #

showtl :: All -> Text Source #

showtlList :: [All] -> Text Source #

TextShow Any Source #

Since: 2

Methods

showbPrec :: Int -> Any -> Builder Source #

showb :: Any -> Builder Source #

showbList :: [Any] -> Builder Source #

showtPrec :: Int -> Any -> Text Source #

showt :: Any -> Text Source #

showtList :: [Any] -> Text Source #

showtlPrec :: Int -> Any -> Text Source #

showtl :: Any -> Text Source #

showtlList :: [Any] -> Text Source #

TextShow a0 => TextShow (Dual a0) Source #

Since: 2

Methods

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

showb :: Dual a0 -> Builder Source #

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

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

showt :: Dual a0 -> Text Source #

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

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

showtl :: Dual a0 -> Text Source #

showtlList :: [Dual a0] -> Text Source #

TextShow a0 => TextShow (Sum a0) Source #

Since: 2

Methods

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

showb :: Sum a0 -> Builder Source #

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

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

showt :: Sum a0 -> Text Source #

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

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

showtl :: Sum a0 -> Text Source #

showtlList :: [Sum a0] -> Text Source #

TextShow a0 => TextShow (Product a0) Source #

Since: 2

Methods

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

showb :: Product a0 -> Builder Source #

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

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

showt :: Product a0 -> Text Source #

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

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

showtl :: Product a0 -> Text Source #

showtlList :: [Product a0] -> Text Source #

TextShow a0 => TextShow (First a0) Source #

Since: 2

Methods

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

showb :: First a0 -> Builder Source #

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

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

showt :: First a0 -> Text Source #

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

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

showtl :: First a0 -> Text Source #

showtlList :: [First a0] -> Text Source #

TextShow a0 => TextShow (Last a0) Source #

Since: 2

Methods

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

showb :: Last a0 -> Builder Source #

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

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

showt :: Last a0 -> Text Source #

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

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

showtl :: Last a0 -> Text Source #

showtlList :: [Last a0] -> Text Source #

TextShow1 f0 => TextShow1 (Alt * f0) Source #

Only available with base-4.8.0.0 or later.

Since: 2

Methods

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

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

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

Only available with base-4.8.0.0 or later.

Since: 2

Methods

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

showb :: Alt * f a -> Builder Source #

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

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

showt :: Alt * f a -> Text Source #

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

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

showtl :: Alt * f a -> Text Source #

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