In ghc 6.10.1.
+4
A:
I have figured it out after reading this paper: An Extensible Dynamically-Typed Hierarchy of Exceptions
handle (\(SomeException e) -> return $ "caught: " ++ show e) undefined
luntain
2009-01-11 13:03:44