GHC 7.6.1 / System.IO.Error.try
haskell-oren at ben-kiki.org
Wed Sep 19 09:20:28 CEST 2012
Good to know!
On Wed, Sep 19, 2012 at 3:27 AM, John Lato <jwlato at gmail.com> wrote:
> > From: Brandon Allbery <allbery.b at gmail.com>
> > On Mon, Sep 17, 2012 at 2:41 PM, Oren Ben-Kiki <
> haskell-oren at ben-kiki.org>wrote:
> >> It seems that System.IO.Error no longer exports "try" and that breaks a
> >> lot of packages I am using. I am trying to move my code to GHC 7.6.1,
> >> this seems to be a common source of problems (there are other issues,
> >> alas...). Is there an ETA to when libraries would be
> > Most of that stuff should be in Control.Exception, fwiw.
> System.IO.Error's try (and catch) is not the same as that of
> because it only catches IOError's. catch is slightly more involved to
> change because its type is specified as catching only IOError, whereas
> Control.Exception.catch nearly always needs a manual annotation of the
> exception type.
> Replacing System.IO.Error.try with System.IO.Error.tryIOError should
> work, and is compatible with ghc's back to 7.2.
> John L
> Libraries mailing list
> Libraries at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libraries