4
如何在Haskell中捕獲異常?如何捕捉Haskell中的任意異常?
如何在Haskell中捕獲異常?如何捕捉Haskell中的任意異常?
我已閱讀本文後想通了:An Extensible Dynamically-Typed Hierarchy of Exceptions
handle (\(SomeException e) -> return $ "caught: " ++ show e) undefined
鏈接是死:-( – hedgie 2015-08-17 17:47:32