Safe Haskell | None |
---|
Formatting of Haddock documentation.
- printSexp :: [IdentDoc] -> Ghc ()
- printIdentDoc :: Bool -> Bool -> Bool -> IdentDoc -> Ghc ()
- formatDoc :: Doc String -> String
- data Sexp
- renderSexp :: Sexp -> String
- toSexp :: IdentDoc -> Ghc Sexp
- doc :: Doc String -> String
- normalize :: [Char] -> [Char]
- trim :: [Char] -> [Char]
- formatExample :: Example -> String
- formatArg :: Show a => a -> Doc String -> String
- indentAfter :: Int -> String -> String
Formatting
Print an identifier' documentation.
Internal functions
renderSexp :: Sexp -> StringSource
Render an s-expression to string.
formatExample :: Example -> StringSource
Format an example to plain text.
indentAfter :: Int -> String -> StringSource
Indent after the first line.