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