monad-coroutine

Coroutine monad transformer for suspending and resuming monadic computations

http://trac.haskell.org/SCC/wiki/monad-coroutine

Version on this page:0.8.0.1
LTS Haskell 22.43:0.9.2
Stackage Nightly 2024-11-30:0.9.2
Latest on Hackage:0.9.2

See all snapshots monad-coroutine appears in

LicenseRef-GPL licensed by Mario Blazevic
Maintained by [email protected]
This version can be pinned in stack with:monad-coroutine-0.8.0.1@sha256:173eb357553f7696431c61ab7229cb8eac08925230061862cde00337548da248,1304

Module documentation for 0.8.0.1

  • Control
    • Control.Monad
      • Control.Monad.Coroutine
        • Control.Monad.Coroutine.Nested
        • Control.Monad.Coroutine.SuspensionFunctors

This package defines a monad transformer, applicable to any monad, that allows the monadic computation to suspend and to be later resumed. The transformer is parameterized by an arbitrary functor, used to store the suspended computation's resumption.