Returns the optional default value.
Returns the optional default value.
a Some
containing the default value or None
if not specified
Returns the optional long name.
Returns the optional long name.
a Some
containing the long name or None
if not specified
Returns the option processor.
Returns the option processor.
the option processor
Returns a copy of the option value map in which the given value is associated with both long and short names, where applicable.
Returns the optional short name.
Returns the optional short name.
a Some
containing the short name or None
if not specified
Returns a new option with a default value.
Returns a new option with a default value.
the value type
the default value
a new option with default
as the default value
Returns the canonical name.
An option definition.
An instance of this class is typically constructed using the DSL when binding a processor function to an OptName using the ~> and ~>+ methods.
the value type