4

如何在 Haskell 中捕获异常?

4

1 回答 1

5

读完这篇论文后我明白了:An Extensible Dynamically-Typed Hierarchy of Exceptions

handle (\(SomeException e) -> return $ "caught: " ++ show e) undefined
于 2009-01-11T13:03:44.123 回答