layout-0.0.0.1: Turn values into pretty text or markup

Text.Layout.Class

Documentation

class Monoid format => IsFormat format whereSource

Methods

formatVerbatim :: String -> formatSource

fromShow :: Show a => a -> formatSource

class IsFormat format => Layout a format whereSource

Methods

format :: a -> formatSource

formatList :: [a] -> formatSource

Instances

Layout Char DisplayText 
Layout Double DisplayText 
Layout Float DisplayText 
Layout Int DisplayText 
Layout Integer DisplayText 
Layout () DisplayText 
Layout DisplayText DisplayText 
Layout a DisplayText => Layout [a] DisplayText 
Show (Ratio a) => Layout (Ratio a) DisplayText 
Show a => Layout (Maybe a) DisplayText 
(Show a, Show b) => Layout (Either a b) DisplayText 
(Show a, Show b) => Layout (a, b) DisplayText 
(Show a, Show b, Show c) => Layout (a, b, c) DisplayText 
(Layout a DisplayText, Layout b DisplayText, Layout c DisplayText) => Layout (Table a b c) DisplayText 
(Show a, Show b, Show c, Show d) => Layout (a, b, c, d) DisplayText 
(Show a, Show b, Show c, Show d, Show e) => Layout (a, b, c, d, e) DisplayText 
(Show a, Show b, Show c, Show d, Show e, Show f) => Layout (a, b, c, d, e, f) DisplayText 
(Show a, Show b, Show c, Show d, Show e, Show f, Show g) => Layout (a, b, c, d, e, f, g) DisplayText 
(Show a, Show b, Show c, Show d, Show e, Show f, Show g, Show h) => Layout (a, b, c, d, e, f, g, h) DisplayText 
(Show a, Show b, Show c, Show d, Show e, Show f, Show g, Show h, Show i) => Layout (a, b, c, d, e, f, g, h, i) DisplayText