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

Contents

- Orphan instances

Description

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

Since: 3

# Orphan instances

TextShow1 First Source # | Since: 3
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: 3
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 Max Source # | Since: 3
Instance details Methods liftShowbPrec :: (Int -> a -> Builder) -> ([a] -> Builder) -> Int -> Max a -> Builder Source # liftShowbList :: (Int -> a -> Builder) -> ([a] -> Builder) -> [Max a] -> Builder Source #
TextShow1 Min Source # | Since: 3
Instance details Methods liftShowbPrec :: (Int -> a -> Builder) -> ([a] -> Builder) -> Int -> Min a -> Builder Source # liftShowbList :: (Int -> a -> Builder) -> ([a] -> Builder) -> [Min a] -> Builder Source #
TextShow1 WrappedMonoid Source # | Since: 3
Instance details Methods liftShowbPrec :: (Int -> a -> Builder) -> ([a] -> Builder) -> Int -> WrappedMonoid a -> Builder Source # liftShowbList :: (Int -> a -> Builder) -> ([a] -> Builder) -> [WrappedMonoid a] -> Builder Source #
TextShow2 Arg Source # | Since: 3
Instance details 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 #
TextShow a => TextShow (First a) Source # | Since: 3
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: 3
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 (Max a) Source # | Since: 3
Instance details Methods showbPrec :: Int -> Max a -> Builder Source # showb :: Max a -> Builder Source # showbList :: [Max a] -> Builder Source # showtPrec :: Int -> Max a -> Text Source # showt :: Max a -> Text Source # showtList :: [Max a] -> Text Source # showtlPrec :: Int -> Max a -> Text Source # showtl :: Max a -> Text Source # showtlList :: [Max a] -> Text Source #
TextShow a => TextShow (Min a) Source # | Since: 3
Instance details Methods showbPrec :: Int -> Min a -> Builder Source # showb :: Min a -> Builder Source # showbList :: [Min a] -> Builder Source # showtPrec :: Int -> Min a -> Text Source # showt :: Min a -> Text Source # showtList :: [Min a] -> Text Source # showtlPrec :: Int -> Min a -> Text Source # showtl :: Min a -> Text Source # showtlList :: [Min a] -> Text Source #
TextShow m => TextShow (WrappedMonoid m) Source # | Since: 3

Instance details

Methods

showbPrec :: Int -> WrappedMonoid m -> Builder Source #

showb :: WrappedMonoid m -> Builder Source #

showbList :: [WrappedMonoid m] -> Builder Source #

showtPrec :: Int -> WrappedMonoid m -> Text Source #

showt :: WrappedMonoid m -> Text Source #

showtList :: [WrappedMonoid m] -> Text Source #

showtlPrec :: Int -> WrappedMonoid m -> Text Source #

showtl :: WrappedMonoid m -> Text Source #

showtlList :: [WrappedMonoid m] -> Text Source #

TextShow a => TextShow1 (Arg a) Source # | Since: 3
Instance details Methods liftShowbPrec :: (Int -> a0 -> Builder) -> ([a0] -> Builder) -> Int -> Arg a a0 -> Builder Source # liftShowbList :: (Int -> a0 -> Builder) -> ([a0] -> Builder) -> [Arg a a0] -> Builder Source #
(TextShow a, TextShow b) => TextShow (Arg a b) Source # | Since: 3
Instance details Methods showbPrec :: Int -> Arg a b -> Builder Source # showb :: Arg a b -> Builder Source # showbList :: [Arg a b] -> Builder Source # showtPrec :: Int -> Arg a b -> Text Source # showt :: Arg a b -> Text Source # showtList :: [Arg a b] -> Text Source # showtlPrec :: Int -> Arg a b -> Text Source # showtl :: Arg a b -> Text Source # showtlList :: [Arg a b] -> Text Source #