Text.Pretty

The Pretty typeclass

class Pretty a

The Printer type

data Printer

Construction

Primitive types

char

string

sizedText

zeroWidthText

int

integer

float

double

rational

Combinators

empty

(<->)

(<+>)

hcat

hsep

(</>)

(<//>)

vcat

sep

cat

fsep

fcat

Wrapping and punctuation

wrap

parens

brackets

braces

quotes

doubleQuotes

nest

hang

sepBy

initBy

termBy

sepByS

initByS

termByS

Predicates on printers

isEmpty

Rendering printers

runPrinter

data Mode

data Style

style

runPrinterStyle