hindent-1.0: Extensible Haskell pretty printer
HIndent
Contents
Description
Haskell indenter.
Synopsis
reformat :: Config -> Style -> Text -> Either String BuilderSource
Format the given source.
prettyPrint :: Config -> Style -> Printer () -> BuilderSource
Pretty print the given printable thing.
parseMode :: ParseModeSource
Parse mode, includes all extensions, doesn't assume any fixities.
styles :: [Style]Source
Styles list, useful for programmatically choosing.
chrisDone :: StyleSource
The printer style.
michaelSnoyman :: StyleSource
johanTibell :: StyleSource
fundamental :: StyleSource
test :: Config -> Style -> Text -> IO ()Source
Test with the given style, prints to stdout.