envparse optparse-applicative, but for environment variables See example/Main.hs for an executable example As to why anyone would want to use environment to configure their applications, here's what some folks think about it.