In haskell you could write something like this:
parMap rseq (\x->/some long computation/) [1..4]
using the standard Control.Parallel.Strategies library (use rwhnf instead of rseq unless you are using v3).
using the standard Control.Parallel.Strategies library (use rwhnf instead of rseq unless you are using v3).
No comments yet.