Language.Haskell.TH.PprLib

# The document type

type Doc

data PprM a

# Primitive Documents

empty

semi

comma

colon

space

equals

lparen

rparen

lbrack

rbrack

lbrace

rbrace

# Converting values into documents

text

char

ptext

int

integer

float

double

rational

# Wrapping documents in delimiters

parens

brackets

braces

quotes

doubleQuotes

# Combining documents

(<>)

(<+>)

hcat

hsep

($$)

($+$)

vcat

sep

cat

fsep

fcat

nest

hang

punctuate

# Predicates on documents

isEmpty

to_HPJ_Doc

pprName

pprName'