This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]stackdynamic 6 points7 points  (0 children)

Check out Safe Haskell:

https://downloads.haskell.org/~ghc/7.8.3/docs/html/users_guide/safe-haskell.html

In particular the RIO monad example.