text-show-instances-3.0.1: Additional instances for text-show

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

TextShow.Instances

Contents

Description

Additional TextShow, TextShow1, and TextShow2 instances not provided by text-show.

Since: 2

Synopsis

Class re-exports

class TextShow a where

Minimal complete definition

showbPrec | showb

Methods

showbPrec :: Int -> a -> Builder

showb :: a -> Builder

showbList :: [a] -> Builder

showtPrec :: Int -> a -> Text

showt :: a -> Text

showtList :: [a] -> Text

showtlPrec :: Int -> a -> Text

showtl :: a -> Text

showtlList :: [a] -> Text

Instances

TextShow a => TextShow (FromTextShow a) 
Show a => TextShow (FromStringShow a) 
(TextShow1 f, TextShow a) => TextShow (FromTextShow1 * f a) 
(TextShow2 f, TextShow a, TextShow b) => TextShow (FromTextShow2 * * f a b) 

class TextShow1 f where

Minimal complete definition

liftShowbPrec

Methods

liftShowbPrec :: (Int -> a -> Builder) -> ([a] -> Builder) -> Int -> f a -> Builder

liftShowbList :: (Int -> a -> Builder) -> ([a] -> Builder) -> [f a] -> Builder

Instances

TextShow1 FromTextShow 
TextShow1 FromStringShow 
TextShow1 f => TextShow1 (FromTextShow1 * f) 
(TextShow2 f, TextShow a) => TextShow1 (FromTextShow2 * * f a) 

class TextShow2 f where

Minimal complete definition

liftShowbPrec2

Methods

liftShowbPrec2 :: (Int -> a -> Builder) -> ([a] -> Builder) -> (Int -> b -> Builder) -> ([b] -> Builder) -> Int -> f a b -> Builder

liftShowbList2 :: (Int -> a -> Builder) -> ([a] -> Builder) -> (Int -> b -> Builder) -> ([b] -> Builder) -> [f a b] -> Builder

Instances

TextShow2 f => TextShow2 (FromTextShow2 * * f) 

Module re-export