text-show-3.10.4: 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 | Safe-Inferred
Language | Haskell2010

TextShow.Data.Either

Contents

- Orphan instances

Description

`TextShow` instance for `Either`.

Since: 2

# Orphan instances

TextShow2 Either Source # | Since: 2
Instance details 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 a => TextShow1 (Either a) Source # | Since: 2
Instance details Methods liftShowbPrec :: (Int -> a0 -> Builder) -> ([a0] -> Builder) -> Int -> Either a a0 -> Builder Source # liftShowbList :: (Int -> a0 -> Builder) -> ([a0] -> Builder) -> [Either a a0] -> Builder Source #
(TextShow a, TextShow b) => TextShow (Either a b) Source # | Since: 2

Instance details

Methods

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

showb :: Either a b -> Builder Source #

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

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

showt :: Either a b -> Text Source #

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

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

showtl :: Either a b -> Text Source #

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