Proposal: System.Environment.getEnv should return Maybe

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

On 23 February 2012 01:07, Evan Laforge <qdunkan at> 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.


More information about the Libraries mailing list