Proposal: Control.Concurrent.Async

Twan van Laarhoven twanvl at gmail.com
Fri Jun 15 14:52:43 CEST 2012


On 08/06/12 10:37, Simon Marlow wrote:
> I'd like to add a higher-level concurrency API to the base package.

How does this async package differ from monad-par, from a user's perspective? It 
seems that the latter is intended for pure computations and the implementation 
is more heavy weight. But it can be used for IO as well.

The difference in API is essentially only that async lives in the IO monad, 
whereas monad-par has its own Par monad.

Could and/or should one be implemented in terms of the other?


Twan



More information about the Libraries mailing list