System.Console.Terminfo.PrettyPrint

# Raw Effect (requires the effect be present)

data ScopedEffect

with

data Effect

## Graceful degradation

soft

## Effects (built with soft)

blink

bold

underline

standout

reversed

protected

invisible

dim

## Colors (built with soft)

red

black

green

blue

yellow

magenta

cyan

white

foreground

background

## Ringing bells

data Bell

ring

# A Color Pretty Printer

type TermDoc

display

displayLn

## Progressively less magical formatting

displayDoc

displayDoc'

displayDoc''

## A Classy Interface

class PrettyTerm t

## Evaluation

type SimpleTermDoc

evalTermState

displayCap