Exception handling in Haskell

后端 未结 4 513
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-02 04:57

I need help to understand the usage of the three Haskell functions

  • try (Control.Exception.try :: Exception e => IO a -> IO (Either e a))
4条回答
  •  情深已故
    2020-12-02 05:53

    Edward Z. Yang has an article on exception handling in haskell: 8 ways to report errors in Haskell revisited.

提交回复
热议问题