@hackage distributed-process-lifted0.3.0.1
monad-control style typeclass and transformer instances for Process monad.
Categories
License
BSD-3-Clause
Maintainer
jeremy@jeremyhuffman.com
Links
Versions
Installation
Dependencies (10)
- base <5
- deepseq >=1.2 && <1.5
- distributed-process >=0.5.1 && <0.8
- distributed-process-monad-control >=0.5 && <0.6
- lifted-base >=0.2 && <0.3
- monad-control >=0.3 && <1.1 Show all…
Dependents (2)
@hackage/stack-network, @hackage/acme-everything
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.