uulib-0.9.10: Haskell Utrecht Tools LibrarySource codeContentsIndex
UU.PPrint
Description
Documentation
data Doc Source
show/hide Instances
class Pretty a whereSource
Methods
pretty :: a -> DocSource
show/hide Instances
show
putDoc :: Doc -> IO ()Source
hPutDoc :: Handle -> Doc -> IO ()Source
<>
<+>
</>
<//>
<$>
<$$>
sep
fillSep
hsep
vsep
cat
fillCat
hcat
vcat
punctuate
align
hang
indent
fill
fillBreak
list
tupled
semiBraces
encloseSep
angles
langle
rangle
parens
lparen
rparen
braces
lbrace
rbrace
brackets
lbracket
rbracket
dquotes
dquote
squotes
squote
comma
space
dot
backslash
semi
colon
equals
string
bool :: Bool -> DocSource
int :: Int -> DocSource
integer :: Integer -> DocSource
float :: Float -> DocSource
double :: Double -> DocSource
rational :: Rational -> DocSource
softline
softbreak
empty
char
text
line
linebreak
nest
group
column
nesting
width
data SimpleDoc Source
Constructors
SEmpty
SChar Char SimpleDoc
SText !Int String SimpleDoc
SLine !Int SimpleDoc
renderPretty :: Float -> Int -> Doc -> SimpleDocSource
renderCompact :: Doc -> SimpleDocSource
displayS :: SimpleDoc -> ShowSSource
displayIO :: Handle -> SimpleDoc -> IO ()Source
Produced by Haddock version 2.4.2