text-show-3.3: 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.Product

Contents

Description

Monomorphic TextShow function for Product.

Since: 3

Synopsis

Documentation

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

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

Since: 3

Orphan instances

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

Methods

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

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

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

Methods

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

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

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

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

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

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

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

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

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