@hackage / optparse-th

Like `optparse-generic`, but with `TemplateHaskell` for faster builds

Latest0.1.0.0

About

Metadata

  • Last updated , by parsonsmatt
  • License BSD-3-Clause
  • Categories Systems Programming
  • Maintained by: mattp@mercury.com

  • Lottery factor: 0

Links

Installation

Readme

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.