| Safe Haskell | None |
|---|
Haskell.Docs.Formatting
Contents
Description
Formatting of Haddock documentation.
Formatting
Arguments
| :: Bool | Print modules only? |
| -> Bool | Print package? |
| -> Bool | Print module? |
| -> IdentDoc | |
| -> Ghc () |
Print an identifier' documentation.
Internal functions
formatExample :: Example -> StringSource
Format an example to plain text.
indentAfter :: Int -> String -> StringSource
Indent after the first line.