text-show-3.7.5: 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.Either

Contents

Description

TextShow instance for Either.

Since: 2

Orphan instances

TextShow2 Either #

Since: 2

Instance details

Methods

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

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

TextShow a => TextShow1 (Either a) #

Since: 2

Instance details

Methods

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

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

(TextShow a, TextShow b) => TextShow (Either a b) #

Since: 2

Instance details

Methods

showbPrec :: Int -> Either a b -> Builder #

showb :: Either a b -> Builder #

showbList :: [Either a b] -> Builder #

showtPrec :: Int -> Either a b -> Text #

showt :: Either a b -> Text #

showtList :: [Either a b] -> Text #

showtlPrec :: Int -> Either a b -> Text #

showtl :: Either a b -> Text #

showtlList :: [Either a b] -> Text #