lambda-options-1.1.0.0: Declarative command-line parser with type-driven pattern matching.

Safe HaskellSafe
LanguageHaskell2010

Text.LambdaOptions.Formatter

Description

Provides a configurable way to format help options for textual presentation.

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.