[Haskell-cafe] Typed Configuration Files

Neil Mitchell ndmitchell at gmail.com
Fri Jan 8 11:18:29 EST 2010


>> Seriously, cmdargs is *brilliant*.  It's also magic (to me).
> Not only to you in fact it is black magic since it uses unsafePerformIO :(

The problem isn't that it's black magic or that it uses
unsafePerformIO - the problem is that it's horribly impure, so doesn't
obey referential transparency. Unfortunately this in unavoidable with
the way I wanted to write command line arguments...

Thanks, Neil

More information about the Haskell-Cafe mailing list