distributed-process-monad-control: Orphan instances for MonadBase and MonadBaseControl.
This module exports instances for MonadBase
IO
and
MonadBaseControl
IO
for the
lifted-base package.Process
monad. This is for use
in conjunction with a library requiring these instances, such as the
A tutorial segment regarding use of this in distributed-process applications may be found here.
Please excercise caution in usage of this instance, as it can
enable use of functions such as forkIO
(or, fork
from 'lifted-base')
which compromise invariants in the Process monad and can lead to confusing
and subtle issues. Always use the Cloud Haskell functions such as spawnLocal
instead.
example usage:
import Control.Distributed.Process.MonadBaseControl() import Control.Concurrent.MVar.Lifted (withMVar) processWithMVar :: MVar a -> (a -> Process b) -> Process b processWithMvar = withMVar
[Skip to Readme]
Downloads
- distributed-process-monad-control-0.5.1.3.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 0.4.2, 0.5.0, 0.5.1, 0.5.1.1, 0.5.1.2, 0.5.1.3 |
---|---|
Dependencies | base (>=4.4 && <=5), distributed-process (>=0.4.2 && <0.8.0), monad-control (>=0.3 && <1.1), transformers, transformers-base (>=0.4.1 && <=0.5.0) [details] |
License | BSD-3-Clause |
Author | Jeremy Huffman |
Maintainer | jeremy@jeremyhuffman.com |
Category | Control |
Home page | http://haskell-distributed.github.io |
Source repo | head: git clone https://github.com/haskell-distributed/distributed-process-monad-control |
Uploaded | by jeremyjh at 2017-09-07T11:54:39Z |
Distributions | LTSHaskell:0.5.1.3, Stackage:0.5.1.3 |
Reverse Dependencies | 3 direct, 2 indirect [details] |
Downloads | 4877 total (10 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2017-09-07 [all 1 reports] |