The distributed-process-monad-control package

[Tags:bsd3, library]

This module exports instances for MonadBase IO and MonadBaseControl IO for the Process monad. This is for use in conjunction with a library requiring these instances, such as the lifted-base package.

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]

Properties

Versions 0.4.2, 0.5.0, 0.5.1, 0.5.1.1, 0.5.1.2
Dependencies base (>=4.4 && <=5), distributed-process (>=0.4.2 && <0.7.0), monad-control (>=0.3 && <1.1), transformers, transformers-base (>=0.4.1 && <=0.5.0) [details]
License BSD3
Author Jeremy Huffman
Maintainer jeremy@jeremyhuffman.com
Stability Unknown
Category Control
Home page http://haskell-distributed.github.io
Source repository head: git clone https://github.com/haskell-distributed/distributed-process-monad-control
Uploaded Mon Mar 7 01:15:50 UTC 2016 by jeremyjh
Distributions NixOS:0.5.1.2
Downloads 662 total (6 in the last 30 days)
Votes
0 []
Status Docs pending
Build status unknown [no reports yet]

Modules

  • Control
    • Distributed
      • Process
        • Control.Distributed.Process.MonadBaseControl

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for distributed-process-monad-control

Readme for distributed-process-monad-control-0.5.1.2

distributed-process-monad-control

Orphan instances for MonadBase and MonadBaseControl. Please see the tutorial for an introduction and use case for these instances. Also please note that these instances enable the use of functions that are un-sound in the context of distributed-process. Functions such as forkIO (or, fork from lifted-base) compromise invariants in the Process monad and can lead to confusing and subtle issues. Always use the Cloud Haskell functions such as spawnLocal instead.

This repository is part of Cloud Haskell.

See http://haskell-distributed.github.io for documentation, user guides, tutorials and assistance.

Getting Help / Raising Issues

Please visit our bug tracker to submit issues. Anyone can browse, although you'll need to provide an email address and create an account in order to submit new issues.

If you'd like to talk to a human, please contact us at the parallel-haskell mailing list in the first instance - parallel-haskell@googlegroups.com.

License

distributed-process-monad-control is made available under a BSD-3 license.