monad-control style typeclass and transformer instances for Process monad.
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
.