Johannes Waldmann | 7 Oct 14:59
Picon
Favicon

Control.Exception

with 6.10, the following does not typecheck:

foo `Control.Exception.catch` \ _ -> return bar

Ambiguous type variable `e' in the constraint:
      `Control.Exception.Exception e'

It is probably bad programming style anyway but what is the workaround?
I found some references (in list emails) to catchAny, ignoreExceptions
but these don't seem to have made it?

Best regards, J.W.

_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users <at> haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Gmane