lambda-options-0.9.1.0: Declarative command line parser using type-driven pattern matching.

Safe HaskellNone
LanguageHaskell2010

Text.LambdaOptions.Formatter

Synopsis

Documentation

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.