pretty-compact-2.0: Pretty-printing library

Safe HaskellNone
LanguageHaskell98

Text.PrettyPrint.Compact.Core

Documentation

class Monoid d => Layout d where Source

Methods

text :: String -> d Source

flush :: d -> d Source

render :: d -> String Source

Instances

Layout Doc Source 
(Layout a, Layout b) => Layout (a, b) Source 

class Layout d => Document d where Source

Methods

(<|>) :: d -> d -> d Source

Instances