monad-par: A library for parallel programming based on a monad
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
Warnings:
- 'ghc-options: -O2' is rarely needed. Check that it is giving a real benefit and not just imposing longer compile times on your users.
The Par
monad offers a simple API for parallel programming. The
library works for parallelising both pure and IO
computations,
although only the pure version is deterministic. The default
implementation provides a work-stealing scheduler and supports
forking tasks that are much lighter weight than IO-threads.
For complete documentation see Control.Monad.Par.
Some examples of use can be found in the examples/
directory of
the source package.
Other related packages:
abstract-par
provides the type classes that abstract over different implementations of thePar
monad.monad-par-extras
provides extra combinators and monad transformers layered on top of thePar
monad.
Changes in 0.3.4 relative to 0.3:
Fix bugs that cause "thread blocked indefinitely on MVar" crashes.
Added Control.Monad.Par.IO
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, 0.3.4.3, 0.3.4.4, 0.3.4.5, 0.3.4.6, 0.3.4.7, 0.3.4.8, 0.3.4.9, 0.3.4.9, 0.3.5, 0.3.6 |
---|---|
Change log | None available |
Dependencies | abstract-deque (>=0.1.4), abstract-par, array (>=0.3), base (>=4 && <5), chaselev-deque, containers, deepseq (>=1.1), monad-par-extras (>=0.3), mtl (>=2.0.1.0), mwc-random (>=0.11), par-classes, parallel (>=3.1) [details] |
License | BSD-3-Clause |
Copyright | (c) Simon Marlow 2011 |
Author | Simon Marlow, Ryan Newton |
Maintainer | Simon Marlow <marlowsd@gmail.com>, Ryan Newton <rrnewton@gmail.com> |
Category | Control, Parallelism, Monads |
Home page | https://github.com/simonmar/monad-par |
Source repo | head: git clone https://github.com/simonmar/monad-par |
Uploaded | by SimonMarlow at 2019-11-04T08:12:15Z |
Modules
[Index] [Quick Jump]
Flags
Automatic Flags
Name | Description | Default |
---|---|---|
chaselev | Use Chase-Lev Deques for higher-perf work-stealing. | Disabled |
newgeneric | Provide instances for the new par-classes generic Par programming interface. | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- monad-par-0.3.4.9.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees