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.


Versions,, 0.0.2,
Change log ChangeLog
Dependencies aeson (>=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) [details]
License MIT
Copyright 2013 (c) Joseph Abrahamson
Author Joseph Abrahamson
Stability Unknown
Category System
Home page
Source repository head: git clone git://
Uploaded Fri Jan 24 17:14:47 UTC 2014 by JosephAbrahamson
Distributions NixOS:
Downloads 869 total (4 in the last 30 days)
0 []
Status Docs not available [build log]
Successful builds reported [all 7 reports]


  • System
    • Environment
      • System.Environment.Parser
        • System.Environment.Parser.Database
        • System.Environment.Parser.Encoded
        • System.Environment.Parser.FromEnv


Maintainer's Corner

For package maintainers and hackage trustees