Text.PrettyPrint.Final

Pretty monads and measurement

class MonadPretty w ann fmt m

class Measure w fmt m

Atomic documents

text

char

space

Semantic annotations

annotate

Grouping, alignment, and newlines

newline

hardLine

ifFlat

grouped

align

nest

expr

Measuring space

measureText

spaceWidth

emWidth

Separators

hsep

vsep

hvsep

hsepTight

hvsepTight

Helpers for common tasks

collection

Auxiliary datatypes

data PState w fmt

type Line w fmt

data PEnv w ann fmt

localMaxWidth

data Failure

data Layout

data Chunk w

data Atom w

data POut w ann