
10 Mar
2009
10 Mar
'09
9:53 a.m.
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