How do I know where an exception can be thrown in my Haskell program?

I am working on a personal Haskell 1-10k project, and I use various IO libraries such as Network.HTTP.Conduit inside the workers created using Pipes.Concurrent.

I just realized that some of these I / O libraries throw exceptions in extreme cases.

Is there any way for the GHC to give me compile time warnings about uncaught exceptions? What is the best way to find out the exceptions a library may throw?

Thank!

+4
source share
1 answer

Just answering my question as it stands in 2018. I hope this improves over time.

, Haskell . // , , .

, Haskell , , .

0

Source: https://habr.com/ru/post/1695014/


All Articles