The env-parser package

[Tags: library, mit]

@env-parser is a small library for configuring programs based on information from the environment. It's goals and design are similar to that of @cmdargs@ or @optparse-applicative@ but aimed at automatically managed programs such as those that might be run via Heroku or Runit/daemontools.

@env-parser@ intentionally sacrifices power for comprehensibility---the primary interface, @Parser@, implements only @Applicative@. This provides better runtime error messages and automatically generated static help using parser annotations. It also expresses a principle of simplicity in configuration: arbitrary uses of @Monad@ or even @Alternative@ can lead to opaque failures prior to a program even beginning to run.


Versions0.0.1.0,, 0.0.2,
Dependenciesaeson (>=0.6), attoparsec (>=0.10), base (==4.6.*), base16-bytestring (>=0.1.1), base64-bytestring (>=1.0), bytestring (>=0.10), containers (>=0.4), http-types (>=0.8), mtl (>=2.1), network (>=2.4), old-locale (>=1.0), text (>=0.11), time (>=1.4), transformers (>=0.3)
Copyright2013 (c) Joseph Abrahamson
AuthorJoseph Abrahamson
Home page
Source repositoryhead: git clone git://
Upload dateFri Jan 24 17:14:47 UTC 2014
Uploaded byJosephAbrahamson
Downloads258 total (32 in last 30 days)



Maintainers' corner

For package maintainers and hackage trustees