
1 Apr
2011
1 Apr
'11
5:47 a.m.
On Fri, Apr 1, 2011 at 2:23 AM,
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