optparse-generic/stack.ghc.7.8.4.yaml
Sophia Rose 900fa2b596 Removes constraints from parseField method default implementation. (#48)
The goal is to make it more convenient to reuse the parseField method by
avoiding superfluous constraints on the default implementation.

With readField, the Read constraint on parseField is not required by the
default implementation any more. I found myself needing to make dummy Read
instances in order to reuse the default implementation.

The Typeable constraint is only used to derive the metavar within parseField.
So I extracted metavar out as another type class method. A nice side effect
of this is that now it's possible to customize the metavar and still reuse the
default parseFields implementation.
2018-02-22 07:19:28 -08:00

9 lines
124 B
YAML

resolver: lts-2.22
extra-deps:
- Only-0.1
- optparse-applicative-0.14.0.0
- fail-4.9.0.0
- time-1.5.0.1
nix:
enable: true