ghc-7.8.20140130: The GHC API

Safe HaskellNone
LanguageHaskell98

Pretty

Synopsis

Documentation

data DocSource

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

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