Darcs.Util.Printer

Doc type and structural combinators

data Doc

empty

(<>)

(<?>)

(<+>)

($$)

vcat

vsep

hcat

hsep

minus

newline

plus

space

backslash

lparen

rparen

parens

Constructing Docs

text

hiddenText

invisibleText

wrapText

quoted

userchunk

packedString

prefix

hiddenPrefix

insertBeforeLastline

prefixLines

invisiblePS

userchunkPS

Rendering

data RenderMode

renderString

renderStringWith

renderPS

renderPSWith

renderPSs

renderPSsWith

Printers

type Printers

data Printers'

type Printer

simplePrinters

invisiblePrinter

simplePrinter

Printables

data Printable

doc

printable

invisiblePrintable

hiddenPrintable

userchunkPrintable

Constructing colored Docs

data Color

blueText

redText

greenText

magentaText

cyanText

colorText

lineColor

IO

hPutDoc

hPutDocLn

putDoc

putDocLn

hPutDocWith

hPutDocLnWith

putDocWith

putDocLnWith

hPutDocCompr

debugDocLn

ePutDocLn

errorDoc

Unsafe constructors

unsafeText

unsafeBoth

unsafeBothText

unsafeChar

unsafePackedString