Proposal: System.Environment.getEnv should return Maybe

Bas van Dijk v.dijk.bas at gmail.com
Thu Feb 23 17:18:51 CET 2012


On 23 February 2012 01:07, Evan Laforge <qdunkan at gmail.com> wrote:
> Good point, I had forgotten about the Prelude catch.  I think I can go
> remove a bunch of ScopedTypedVariables now.

Note that Prelude.catch has been deprecated in favor of
Control.Exception.catch. If you want to catch IOErrors you can either
use ScopedTypedVariables or System.IO.Error.catchIOError.

Bas



More information about the Libraries mailing list