Proposal: Control.Concurrent.Async

Sjoerd Visscher sjoerd at w3future.com
Tue Jul 3 19:53:00 CEST 2012


Cool, thanks!

Did you check the implementation of "empty"? I didn't really think that one through, it was just the first thing I tried and it seemed to work. I would not be surprised if there's a better way to wait forever.

On Jul 3, 2012, at 3:33 PM, Simon Marlow wrote:

> Thanks, I've incorporated your Concurrently type, and renamed doConcurrently to mapConcurrently (by analogy with mapM).
> 
> I released async-2.0.1.0 with the latest round of changes:
> 
> http://hackage.haskell.org/package/async
> 
> Changes in 2.0.1.0:
> 
>    Added a Functor instance for Async
> 
>    Added asyncBound, asyncOn, asyncWithUnmask, asyncOnWithUnmask, withAsyncBound, withAsyncOn, withAsyncWithUnmask, withAsyncOnWithUnmask.
> 
>    Added mapConcurrently
> 
>    Added Concurrently (with Applicative and Alternative instances)
> 
> Cheers,
> 	Simon
> 

--
Sjoerd Visscher
https://github.com/sjoerdvisscher/blog








More information about the Libraries mailing list