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

Since: 2

Methods

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

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

TextShow a0 => TextShow1 (Either a0) Source #

Since: 2

Methods

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

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

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

Since: 2

Methods

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

showb :: Either a0 b0 -> Builder Source #

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

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

showt :: Either a0 b0 -> Text Source #

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

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

showtl :: Either a0 b0 -> Text Source #

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