lambda-options-1.0.1.0: Declarative command-line parser using 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.