Safe Haskell | None |
---|---|
Language | Haskell2010 |
Pretty-printer for Haskell AST.
Synopsis
- printSnippets :: [SourceSnippet] -> PrinterOptsTotal -> Text
- data PrinterOpts f = PrinterOpts {
- poIndentation :: f Int
- poCommaStyle :: f CommaStyle
- poImportExportCommaStyle :: f CommaStyle
- poIndentWheres :: f Bool
- poRecordBraceSpace :: f Bool
- poDiffFriendlyImportExport :: f Bool
- poRespectful :: f Bool
- poHaddockStyle :: f HaddockPrintStyle
- poNewlinesBetweenDecls :: f Int
Documentation
:: [SourceSnippet] | Result of parsing |
-> PrinterOptsTotal | |
-> Text | Resulting rendition |
Render several source snippets.
data PrinterOpts f Source #
Options controlling formatting output.
PrinterOpts | |
|