text-show-3.4.1.1: Efficient conversion of values into Text

Copyright(C) 2014-2016 Ryan Scott
LicenseBSD-style (see the file LICENSE)
MaintainerRyan Scott
StabilityProvisional
PortabilityGHC
Safe HaskellNone
LanguageHaskell2010

TextShow.Data.Functor.Sum

Contents

Description

Monomorphic TextShow function for Sum.

Since: 3

Synopsis

Documentation

liftShowbSumPrec :: (TextShow1 f, TextShow1 g) => (Int -> a -> Builder) -> ([a] -> Builder) -> Int -> Sum f g a -> Builder Source #

Convert a Sum value to a Builder with the given show functions and precedence.

Since: 3

Orphan instances

(TextShow1 f0, TextShow1 g0) => TextShow1 (Sum * f0 g0) Source # 

Methods

liftShowbPrec :: (Int -> a -> Builder) -> ([a] -> Builder) -> Int -> Sum * f0 g0 a -> Builder Source #

liftShowbList :: (Int -> a -> Builder) -> ([a] -> Builder) -> [Sum * f0 g0 a] -> Builder Source #

(TextShow1 f, TextShow1 g, TextShow a) => TextShow (Sum * f g a) Source # 

Methods

showbPrec :: Int -> Sum * f g a -> Builder Source #

showb :: Sum * f g a -> Builder Source #

showbList :: [Sum * f g a] -> Builder Source #

showtPrec :: Int -> Sum * f g a -> Text Source #

showt :: Sum * f g a -> Text Source #

showtList :: [Sum * f g a] -> Text Source #

showtlPrec :: Int -> Sum * f g a -> Text Source #

showtl :: Sum * f g a -> Text Source #

showtlList :: [Sum * f g a] -> Text Source #