| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Text.LambdaOptions.Formatter
- data FormatConfig = FormatConfig {
- fmtMaxWidth :: Int
- defaultFormatConfig :: FormatConfig
- format :: FormatConfig -> String -> String
- formatKeywords :: FormatConfig -> [Keyword] -> String
Documentation
data FormatConfig Source
User configuration for formatting.
Constructors
| FormatConfig | |
Fields
| |
Instances
defaultFormatConfig :: FormatConfig Source
FormatConfig { fmtMaxWidth = 80 }format :: FormatConfig -> String -> String Source
Formats the given string with the given configuration.
formatKeywords :: FormatConfig -> [Keyword] -> String Source
Formats the given keywords with the given configuration.