monad-control style typeclass and transformer instances for Process monad. https://github.com/jeremyjh/distributed-process-lifted

Latest on Hackage:

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD3 licensed by Jeremy Huffman

This package provides typeclasses and functions for lifting functions and control operations (such as spawnLocal) from the Process monad into transformer stacks based on the Process monad. It uses MonadTransControl and a new typeclass Control.Distributed.Process.Lifted.Class.MonadProcessBase which plays the same role as MonadBaseControl. Instances are provided for all the transformers types - so stacks based on any of these (e.g. ReaderT Config Process a) can be used seamlessly.

The Control.Distributed.Process.Lifted module exports all the same symbols as found in Control.Distributed.Process, but they are all generalized. Where appropriate it re-exports the more general functions from lifted-base (e.g. catch) rather than the versions re-implemented for Process.

comments powered byDisqus