BSD-3-Clause licensed by Gabriel Gonzalez
This version can be pinned in stack with:optparse-generic-1.4.1@sha256:baad746b27e610136d7fef65691a9dd08b502a76673540ce4e792a5df471b672,1684
Module documentation for 1.4.1
This library auto-generates an optparse-applicative-compatible
Parser from any data type that derives the Generic interface.
See the documentation in Options.Generic for an example of how to use
this library
1.4.1
1.4.0
- BREAKING CHANGE: Add support for type-level default values
- This is a breaking change because the various
parse* typeclass methods
now take an additional argument to support this feature
1.3.1
- Export
GenericParseRecord and getRecord{,PureWith}
1.3.0
- BREAKING CHANGE: New
metavar method for ParseField class
- This field simplifies customizing
ParseField instances
- Now you usually only need to override
metavar now or possibly also
readField, whereas the default behavior for parseField should work
more often
- This is only a breaking change for data types that use the default
implementation of
ParseField but do not derive Typeable
- You can migrate existing code that doesn’t compile by just explicitly
specifying what the
metavar field should be