Safe Haskell | None |
---|---|
Language | Haskell98 |
Haskell indenter.
- reformat :: Style -> Maybe [Extension] -> Text -> Either String Builder
- prettyPrint :: ParseMode -> Style -> (forall s. Printer s ()) -> Builder
- parseMode :: ParseMode
- data Style = forall s . Style {
- styleName :: !Text
- styleAuthor :: !Text
- styleDescription :: !Text
- styleInitialState :: !s
- styleExtenders :: ![Extender s]
- styleDefConfig :: !Config
- styles :: [Style]
- chrisDone :: Style
- johanTibell :: Style
- fundamental :: Style
- gibiansky :: Style
- test :: Style -> Text -> IO ()
- testAll :: Text -> IO ()
- testAst :: Text -> Either String ([ComInfo], Module NodeInfo)
Formatting functions.
reformat :: Style -> Maybe [Extension] -> Text -> Either String Builder Source
Format the given source.
prettyPrint :: ParseMode -> Style -> (forall s. Printer s ()) -> Builder Source
Pretty print the given printable thing.
Style
A printer style.
forall s . Style | |
|
The printer style.
The printer style.