pretty-compact-1.0: Pretty-printing library

Safe HaskellSafe-Inferred

Text.PrettyPrint.Compact.Core

Documentation

data Doc Source

Constructors

Empty 
Text Box 
Line !Bool 
Cat Doc Doc 
Nest Indentation Doc 
Union Doc Doc 
Column (Indentation -> Doc) 
Nesting (Indentation -> Doc) 

Instances

Show Doc 
IsString Doc 
Monoid Doc 

render :: Double -> Indentation -> Doc -> StringSource

spacing :: Indentation -> DocSource

text :: String -> DocSource