ghc-7.2.1: The GHC API

Pretty

Synopsis

Documentation

data Doc Source

Instances

zeroWidthText :: String -> DocSource

Some text, but without any width. Use for non-printing text such as a HTML or Latex tags

sep :: [Doc] -> DocSource

cat :: [Doc] -> DocSource

hang :: Doc -> Int -> Doc -> DocSource

punctuate :: Doc -> [Doc] -> [Doc]Source

fullRender :: Mode -> Int -> Float -> (TextDetails -> a -> a) -> a -> Doc -> aSource