The monad-par package
This library offers an alternative parallel programming API to that provided by the parallel package. A Par monad allows the simple description of parallel computations, and can be used to add parallelism to pure Haskell code. The basic API is straightforward: the monad supports forking and simple communication in terms of IVars. The library comes with a work-stealing implementation, but the internals are also exposed so that you can build your own scheduler if necessary. Examples of use can be found in the examples/ directory of the source package. The modules below provide additionaly schedulers, data structures, and other added capabilities layered on top of the Par monad.
Properties
| Versions | 0.1, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.3, 0.3.4, 0.3.4.1, 0.3.4.2 |
|---|---|
| Dependencies | abstract-deque (≥0.1.4), abstract-par, array (≥0.3), base (4.*), containers, deepseq (≥1.1), monad-par-extras (0.3.*), mtl (≥2.0.1.0), mwc-random (≥0.11), parallel (≥3.1) |
| License | BSD3 |
| Copyright | (c) Simon Marlow 2011 |
| Author | Simon Marlow |
| Maintainer | Simon Marlow <marlowsd@gmail.com> |
| Stability | Experimental |
| Category | Control, Parallelism, Monads |
| Home page | https://github.com/simonmar/monad-par |
| Upload date | Fri May 4 17:27:07 UTC 2012 |
| Uploaded by | RyanNewton |
| Built on | ghc-7.4 |
| Distributions | NixOS: 0.3.4.2, Debian: 0.1.0.3, FreeBSD: 0.3.4.2 |
Modules
Downloads
- monad-par-0.3.tar.gz (Cabal source package)
- package description (included in the package)