Safe Haskell | None |
---|---|
Language | Haskell2010 |
Pretty-printer for Haskell AST.
Synopsis
- printModule :: ParseResult -> PrinterOpts -> Text
- data PrinterOpts = PrinterOpts {
- poIndentStep :: Int
Documentation
:: ParseResult | Result of parsing |
-> PrinterOpts | |
-> Text | Resulting rendition |
Render a module.
data PrinterOpts Source #
Options controlling formatting output
PrinterOpts | |
|
Instances
Eq PrinterOpts Source # | |
Defined in Ormolu.Config (==) :: PrinterOpts -> PrinterOpts -> Bool # (/=) :: PrinterOpts -> PrinterOpts -> Bool # | |
Show PrinterOpts Source # | |
Defined in Ormolu.Config showsPrec :: Int -> PrinterOpts -> ShowS # show :: PrinterOpts -> String # showList :: [PrinterOpts] -> ShowS # |