ghc-7.6.2: The GHC API

Safe HaskellNone

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

printDoc :: Mode -> Int -> Handle -> Doc -> IO ()Source