[Haskell-cafe] Typed Configuration Files

Nicolas Pouillard nicolas.pouillard at gmail.com
Fri Jan 8 10:41:56 EST 2010


Excerpts from Magnus Therning's message of Fri Jan 08 16:25:31 +0100 2010:
> On Fri, Jan 8, 2010 at 12:53 PM, Sebastian Fischer
> <sebf at informatik.uni-kiel.de> wrote:
> > Dear Café,
> >
> > Neil Mitchell's cmdargs package [1] is pretty neat. It can be used to parse
> > command-line arguments into a user-defined data structure.
> >
> > Is there something similar for parsing config files?
> 
> If you write one I most certainly will use it! ;)
> 
> Seriously, cmdargs is *brilliant*.  It's also magic (to me).

Not only to you in fact it is black magic since it uses unsafePerformIO :(

-- 
Nicolas Pouillard
http://nicolaspouillard.fr


More information about the Haskell-Cafe mailing list