[Haskell-cafe] Re: ANN: Future 1.1.0 concurrency library

ChrisK haskell at list.mightyreason.com
Tue Mar 10 05:53:38 EDT 2009


Don Stewart wrote:
> Who needs to build futures into the language -- all you need is MVars, eh?

For a pure computation in Haskell one can use "par" (which did take changing the 
runtime, and arguably adding to the language).

The future package I uploaded is just a clean way to get something a little like 
"par" for an IO computation, as a library.

One can build many useful APIs quite cheaply using MVars.  Hackage even has a 
few examples (many under the Concurrency heading).

This API was interesting solely because it is in the C++ standard and the 
discussion about how the standard left out useful proposed parts of the API.

Cheers,
   Chris



More information about the Haskell-Cafe mailing list