On Fri, Apr 1, 2011 at 2:23 AM,  <o...@okmij.org> wrote:
>
> John Meacham wrote:
>> Error is not catchable in haskell 98. Only things thrown by raiseIO are.
>
> I see; so GHC, absent any LANGUAGE pragma, should have arranged for
> `error' to generate a non-catchable exception.

Actually, it was because you imported Control.Exception. the catch/handle in
Control.Exception has different behavior than the catch in Prelude. one catches
imprecise exceptions, the other doesn't.

        John

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to