The latest version of interruptible is 0.1.1.1-2.
interruptible
Version 0.1.0.0 revision 0 uploaded by marcosdumay.
Package meta
- Synopsis
- Monad transformers that can be run and resumed later, conserving their context.
- Description
Given an inner monad and a transformer: > (Monad m, MonadTrans t) If
t
is an interruptible transformer, it becomes possible to intercalate executions on thet
context with executions over the inner monadm
by breaking the execution ont
and resuming it later.Interruptible monads implement the
runI
function so that, givenf :: a -> t m b
andg :: b -> t m c
,resume (f >>= g)
is equivalent tox -> resume f x >>= resume g
.That makes it possible to intercalate the execution of different monads, and even to return a monadic context for another function to resume it.
- Author
- Marcos Dumay de Medeiros
- Bug reports
- n/a
- Category
- Control
- Copyright
- n/a
- Homepage
- https://sealgram.com/git/haskell/interruptible/
- Maintainer
- marcos@marcosdumay.com
- Package URL
- n/a
- Stability
- n/a