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

[ bsd3, library, system ] [ Propose Tags ] [ Report a vulnerability ]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0
Change log CHANGELOG.md
Dependencies base (>=4.14 && <5), optparse-applicative, optparse-generic, template-haskell, text [details]
License BSD-3-Clause
Copyright 2023 Mercury Technologies
Author Matt von Hagen
Maintainer mattp@mercury.com
Category System
Home page https://github.com/MercuryTechnologies/optparse-th#readme
Bug tracker https://github.com/MercuryTechnologies/optparse-th/issues
Source repo head: git clone https://github.com/MercuryTechnologies/optparse-th
Uploaded by parsonsmatt at 2023-12-07T20:00:45Z
Distributions NixOS:0.1.0.0
Downloads 53 total (2 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2023-12-07 [all 1 reports]

Readme for optparse-th-0.1.0.0

[back to package description]

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.