tags:

views:

392

answers:

1

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