ghc-7.4.1: The GHC API

Safe HaskellSafe-Infered

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