lambda-options-0.9.0.1: A modern command-line parser for Haskell.

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.