@hackage monad-par0.3
A library for parallel programming based on a monad
Installation
Dependencies (10)
- abstract-deque >=0.1.4
- abstract-par
- array >=0.3
- base >=4 && <4.7
- containers
- deepseq >=1.1 Show all…
Dependents (26)
@hackage/scheduler, @hackage/hnormalise, @hackage/preliminaries, @hackage/neural, @hackage/hanabi-dealer, @hackage/edges, Show all…
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.