Text.PrettyPrint.Boxes

# Constructing boxes

data Box

nullBox

emptyBox

char

text

para

columns

# Layout of boxes

(<>)

(<+>)

hcat

hsep

(//)

(/+/)

vcat

vsep

punctuateH

punctuateV

# Alignment

data Alignment

left

right

top

bottom

center1

center2

moveLeft

moveRight

moveUp

moveDown

alignHoriz

alignVert

align

# Inspecting boxes

rows

cols

# Rendering boxes

render

printBox