@hackage monad-par0.3.6
A library for parallel programming based on a monad
Categories
License
BSD-3-Clause
Maintainer
Simon Marlow <marlowsd@gmail.com>, Ryan Newton <rrnewton@gmail.com>
Links
Versions
Installation
Dependencies (11)
- abstract-deque >=0.1.4
- abstract-par
- array >=0.3
- base >=4.9 && <5
- chaselev-deque
- containers Show all…
Dependents (26)
@hackage/scheduler, @hackage/hnormalise, @hackage/preliminaries, @hackage/neural, @hackage/hanabi-dealer, @hackage/edges, Show all…
Package Flags
chaselev
(off by default)
Use Chase-Lev Deques for higher-perf work-stealing.
newgeneric
(off by default)
Provide instances for the new par-classes generic Par programming interface.
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-parprovides the type classes that abstract over different implementations of theParmonad.monad-par-extrasprovides extra combinators and monad transformers layered on top of theParmonad.
Changes in 0.3.4 relative to 0.3:
Fix bugs that cause "thread blocked indefinitely on MVar" crashes.
Added
Control.Monad.Par.IO