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

Contents

Description

TextShow instance for Either.

Since: 2

Orphan instances

TextShow2 Either #

Since: 2

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 a0 => TextShow1 (Either a0) #

Since: 2

Methods

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

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

(TextShow a0, TextShow b0) => TextShow (Either a0 b0) #

Since: 2

Methods

showbPrec :: Int -> Either a0 b0 -> Builder #

showb :: Either a0 b0 -> Builder #

showbList :: [Either a0 b0] -> Builder #

showtPrec :: Int -> Either a0 b0 -> Text #

showt :: Either a0 b0 -> Text #

showtList :: [Either a0 b0] -> Text #

showtlPrec :: Int -> Either a0 b0 -> Text #

showtl :: Either a0 b0 -> Text #

showtlList :: [Either a0 b0] -> Text #