7 Oct 14:59
Control.Exception
Johannes Waldmann <waldmann <at> imn.htwk-leipzig.de>
2008-10-07 12:59:13 GMT
2008-10-07 12:59:13 GMT
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
RSS Feed