kazu-yamamoto/easy-file — pull request #1 by dzhus (2012-10-19 14:17:49+00:00)
Title: Use catch from Control.Exception

`catch` is not included anymore in Prelude from base library shipped
with GHC 7.6.1. We use Control.Exception version instead, along with
type annotation to resolve type checking (IOException corresponds to
error occuring when getEnv fails due to missing HOME variable). The
patch has been tested with GHC 7.6.1.

Control.Exception is imported qualified to avoid namespace clashes on
GHC 7.4.1 (when `catch` was still included in Prelude). However, I
haven't tested the patch with 7.4 or older versions.

Please push the fresh version to Hackage.