Description
Like optparse-generic
, but with TemplateHaskell
for faster builds.
Description
Please see the README on GitHub at https://github.com/MercuryTechnologies/optparse-th#readme
README.md
optparse-th
This package is designed to provide a TemplateHaskell
variant of optparse-generic
. The Generic
instance for very large sum types becomes an extremely onerous thing to compile. TemplateHaskell
is able to generate the required code very quickly, which is much more efficient than going through a Generic
pass that must be re-derived every time the module recompiles.