
5 Nov
2007
5 Nov
'07
7:15 p.m.
timd:
Is it possible to use the forkIO primitive to cause pure computations to be evaluated in parallel threads?
It seems to me that laziness would always prevent any evaluation until the result was used in a consuming thread (and hence would occur serially, in that thread).
Try `par` and friends in Control.Parallel. You can also build referentially transparent worker gangs on top of forkIO. -- Don