layout-0.0.0.2: Turn values into pretty text or markup

Safe HaskellSafe
LanguageHaskell98

Text.Layout.DisplayText

Synopsis

Documentation

newtype DisplayText Source #

Constructors

DisplayText 

Instances

Show DisplayText Source # 
Monoid DisplayText Source # 
IsFormat DisplayText Source # 
Layout a DisplayText => Convertible a DisplayText Source # 
Layout Char DisplayText Source # 
Layout Double DisplayText Source # 
Layout Float DisplayText Source # 
Layout Int DisplayText Source # 
Layout Integer DisplayText Source # 
Layout () DisplayText Source # 
Layout DisplayText DisplayText Source # 
Layout a DisplayText => Layout [a] DisplayText Source # 

Methods

format :: [a] -> DisplayText Source #

formatList :: [[a]] -> DisplayText Source #

Show a => Layout (Maybe a) DisplayText Source # 
Show (Ratio a) => Layout (Ratio a) DisplayText Source # 
(Show a, Show b) => Layout (Either a b) DisplayText Source # 
(Show a, Show b) => Layout (a, b) DisplayText Source # 

Methods

format :: (a, b) -> DisplayText Source #

formatList :: [(a, b)] -> DisplayText Source #

(Show a, Show b, Show c) => Layout (a, b, c) DisplayText Source # 

Methods

format :: (a, b, c) -> DisplayText Source #

formatList :: [(a, b, c)] -> DisplayText Source #

(Layout a DisplayText, Layout b DisplayText, Layout c DisplayText) => Layout (Table a b c) DisplayText Source # 
(Show a, Show b, Show c, Show d) => Layout (a, b, c, d) DisplayText Source # 

Methods

format :: (a, b, c, d) -> DisplayText Source #

formatList :: [(a, b, c, d)] -> DisplayText Source #

(Show a, Show b, Show c, Show d, Show e) => Layout (a, b, c, d, e) DisplayText Source # 

Methods

format :: (a, b, c, d, e) -> DisplayText Source #

formatList :: [(a, b, c, d, e)] -> DisplayText Source #

(Show a, Show b, Show c, Show d, Show e, Show f) => Layout (a, b, c, d, e, f) DisplayText Source # 

Methods

format :: (a, b, c, d, e, f) -> DisplayText Source #

formatList :: [(a, b, c, d, e, f)] -> DisplayText Source #

(Show a, Show b, Show c, Show d, Show e, Show f, Show g) => Layout (a, b, c, d, e, f, g) DisplayText Source # 

Methods

format :: (a, b, c, d, e, f, g) -> DisplayText Source #

formatList :: [(a, b, c, d, e, f, g)] -> DisplayText Source #

(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 Source # 

Methods

format :: (a, b, c, d, e, f, g, h) -> DisplayText Source #

formatList :: [(a, b, c, d, e, f, g, h)] -> DisplayText Source #

(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 Source # 

Methods

format :: (a, b, c, d, e, f, g, h, i) -> DisplayText Source #

formatList :: [(a, b, c, d, e, f, g, h, i)] -> DisplayText Source #

dt :: Layout a DisplayText => a -> DisplayText Source #

Shortcut for (Layout :: a -> DisplayText)