Text.PrettyPrint.ANSI.Leijen

# Documents

data Doc

putDoc

hPutDoc

# Basic combinators

empty

char

text

(<>)

nest

line

linebreak

group

softline

softbreak

hardline

flatAlt

renderSmart

# Alignment

align

hang

indent

encloseSep

list

tupled

semiBraces

# Operators

(<+>)

(<$>)

(</>)

(<$$>)

(<//>)

# List combinators

hsep

vsep

fillSep

sep

hcat

vcat

fillCat

cat

punctuate

# Fillers

fill

fillBreak

# Bracketing combinators

enclose

squotes

dquotes

parens

angles

braces

brackets

# Character documents

lparen

rparen

langle

rangle

lbrace

rbrace

lbracket

rbracket

squote

dquote

semi

colon

comma

space

dot

backslash

equals

# Colorisation combinators

black

red

green

yellow

blue

magenta

cyan

white

dullblack

dullred

dullgreen

dullyellow

dullblue

dullmagenta

dullcyan

dullwhite

onblack

onred

ongreen

onyellow

onblue

onmagenta

oncyan

onwhite

ondullblack

ondullred

ondullgreen

ondullyellow

ondullblue

ondullmagenta

ondullcyan

ondullwhite

# Emboldening combinators

bold

debold

# Underlining combinators

underline

deunderline

# Removing formatting

plain

# Primitive type documents

string

int

integer

float

double

rational

# Pretty class

class Pretty a

# Rendering

data SimpleDoc

renderPretty

renderCompact

displayS

displayIO

# Undocumented

bool

column

columns

nesting

width