Exception 如何在Haskell中捕获任意异常?
如何在Haskell中捕获异常?在阅读本文后,我找到了答案:Exception 如何在Haskell中捕获任意异常?,exception,haskell,exception-handling,ghc,Exception,Haskell,Exception Handling,Ghc,如何在Haskell中捕获异常?在阅读本文后,我找到了答案: handle (\(SomeException e) -> return $ "caught: " ++ show e) undefined
handle (\(SomeException e) -> return $ "caught: " ++ show e) undefined