monad-peel

Lift control operations like exception catching through monad transformers http://andersk.mit.edu/haskell/monad-peel/

LTS Haskell 14.6:0.2.1.2
Stackage Nightly 2019-09-15:0.2.1.2
Latest on Hackage:0.2.1.2

See all snapshots monad-peel appears in

BSD-3-Clause licensed by Anders Kaseorg, Sergey Alirzaev
Maintained by Sergey Alirzaev

Module documentation for 0.2.1.2

This version can be pinned in stack with:monad-peel-0.2.1.2@sha256:da6c96812bcfe1480128d7c75216e7f5e4eb1593222f2aa283d53fc9a1ef87fa,1821

This package defines MonadPeelIO, a subset of MonadIO into which generic control operations such as catch can be lifted from IO. Instances are based on monad transformers in MonadTransPeel, which includes all standard monad transformers in the transformers library except ContT. For convenience, it provides a wrapped version of Control.Exception with types generalized from IO to all monads in MonadPeelIO.

comments powered byDisqus