Text.PrettyPrint.FPretty

The type of documents

data Doc

Pretty printing

pretty

Basic documents

empty

text

Basic documents with several layouts

line

linebreak

softline

softbreak

Combining two documents

The base binary combinator

(<>)

Derived binary combinators

(<+>)

(<$>)

(<$$>)

(</>)

(<//>)

Modifying the layouts of one document

group

nest

align

hang

Combining many documents

hsep

vsep

fillSep

sep

hcat

vcat

fillCat

cat