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:
implementations of the 'Par' monad.
on top of the 'Par' 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".
Package Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
---|---|---|---|---|---|
0.3.5-bp156.3.4 info | GA Release | 2024-02-21 | 15 SP6 |
|
|
0.3.5-bp155.2.14 info | GA Release | 2023-05-22 | 15 SP5 |
|
|
0.3.5-bp154.1.12 info | GA Release | 2022-05-09 | 15 SP4 |
|
|
0.3.4.8-bp150.2.3 info | GA Release | 2018-08-01 | 15 |
|
|
0.3.4.8-bp150.2.8 info | GA Release | 2018-07-31 | 15 |
|
|
0.3.4.8-bp150.2.7 info | GA Release | 2018-07-30 | 15 |
|
|