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

Copyright | (C) 2014-2017 Ryan Scott
License | BSD-style (see the file LICENSE)
Maintainer | Ryan Scott
Stability | Provisional
Portability | GHC
Safe Haskell | None
Language | Haskell2010

TextShow.Data.Monoid

Contents

- Orphan instances

Description

`TextShow` instances for `Monoid`-related newtypes.

Since: 2

# Orphan instances

TextShow All Source # | Since: 2
Instance details 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
Instance details 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 #
TextShow1 First Source # | Since: 2
Instance details 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
Instance details Methods liftShowbPrec :: (Int -> a -> Builder) -> ([a] -> Builder) -> Int -> Last a -> Builder Source # liftShowbList :: (Int -> a -> Builder) -> ([a] -> Builder) -> [Last a] -> Builder Source #
TextShow1 Dual Source # | Since: 2
Instance details Methods liftShowbPrec :: (Int -> a -> Builder) -> ([a] -> Builder) -> Int -> Dual a -> Builder Source # liftShowbList :: (Int -> a -> Builder) -> ([a] -> Builder) -> [Dual a] -> Builder Source #
TextShow1 Product Source # | Since: 2
Instance details Methods liftShowbPrec :: (Int -> a -> Builder) -> ([a] -> Builder) -> Int -> Product a -> Builder Source # liftShowbList :: (Int -> a -> Builder) -> ([a] -> Builder) -> [Product a] -> Builder Source #
TextShow1 Sum Source # | Since: 2
Instance details Methods liftShowbPrec :: (Int -> a -> Builder) -> ([a] -> Builder) -> Int -> Sum a -> Builder Source # liftShowbList :: (Int -> a -> Builder) -> ([a] -> Builder) -> [Sum a] -> Builder Source #
TextShow a => TextShow (First a) Source # | Since: 2
Instance details Methods showbPrec :: Int -> First a -> Builder Source # showb :: First a -> Builder Source # showbList :: [First a] -> Builder Source # showtPrec :: Int -> First a -> Text Source # showt :: First a -> Text Source # showtList :: [First a] -> Text Source # showtlPrec :: Int -> First a -> Text Source # showtl :: First a -> Text Source # showtlList :: [First a] -> Text Source #
TextShow a => TextShow (Last a) Source # | Since: 2
Instance details Methods showbPrec :: Int -> Last a -> Builder Source # showb :: Last a -> Builder Source # showbList :: [Last a] -> Builder Source # showtPrec :: Int -> Last a -> Text Source # showt :: Last a -> Text Source # showtList :: [Last a] -> Text Source # showtlPrec :: Int -> Last a -> Text Source # showtl :: Last a -> Text Source # showtlList :: [Last a] -> Text Source #
TextShow a => TextShow (Dual a) Source # | Since: 2
Instance details Methods showbPrec :: Int -> Dual a -> Builder Source # showb :: Dual a -> Builder Source # showbList :: [Dual a] -> Builder Source # showtPrec :: Int -> Dual a -> Text Source # showt :: Dual a -> Text Source # showtList :: [Dual a] -> Text Source # showtlPrec :: Int -> Dual a -> Text Source # showtl :: Dual a -> Text Source # showtlList :: [Dual a] -> Text Source #
TextShow a => TextShow (Product a) Source # | Since: 2

Instance details

Methods

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

showb :: Product a -> Builder Source #

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

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

showt :: Product a -> Text Source #

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

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

showtl :: Product a -> Text Source #

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

TextShow a => TextShow (Sum a) Source # | Since: 2
Instance details Methods showbPrec :: Int -> Sum a -> Builder Source # showb :: Sum a -> Builder Source # showbList :: [Sum a] -> Builder Source # showtPrec :: Int -> Sum a -> Text Source # showt :: Sum a -> Text Source # showtList :: [Sum a] -> Text Source # showtlPrec :: Int -> Sum a -> Text Source # showtl :: Sum a -> Text Source # showtlList :: [Sum a] -> Text Source #
TextShow1 f => TextShow1 (Ap f) Source # | Only available with `base-4.12.0.0` or later. Since: 3.7.4
Instance details Methods liftShowbPrec :: (Int -> a -> Builder) -> ([a] -> Builder) -> Int -> Ap f a -> Builder Source # liftShowbList :: (Int -> a -> Builder) -> ([a] -> Builder) -> [Ap f a] -> Builder Source #
TextShow1 f => TextShow1 (Alt f) Source # | Since: 2
Instance details Methods liftShowbPrec :: (Int -> a -> Builder) -> ([a] -> Builder) -> Int -> Alt f a -> Builder Source # liftShowbList :: (Int -> a -> Builder) -> ([a] -> Builder) -> [Alt f a] -> Builder Source #
TextShow (f a) => TextShow (Ap f a) Source # | Only available with `base-4.12.0.0` or later. Since: 3.7.4
Instance details Methods showbPrec :: Int -> Ap f a -> Builder Source # showb :: Ap f a -> Builder Source # showbList :: [Ap f a] -> Builder Source # showtPrec :: Int -> Ap f a -> Text Source # showt :: Ap f a -> Text Source # showtList :: [Ap f a] -> Text Source # showtlPrec :: Int -> Ap f a -> Text Source # showtl :: Ap f a -> Text Source # showtlList :: [Ap f a] -> Text Source #
TextShow (f a) => TextShow (Alt f a) Source # | Since: 2
Instance details 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 #