Re: [Haskell-cafe] Haskell Paralellism

2007-10-25 Thread Alberto Ruiz
Hello Dominik, I have used something like this and it worked very well: import Control.Parallel.Strategies inParallel = parMap rwhnf id [a,b] = inParallel [f x, g y] I hope it helps, Alberto On Thursday 25 October 2007 11:36, Dominik Luecke wrote: Hello, I am trying to use the code

Re: [Haskell-cafe] Haskell Paralellism

2007-10-25 Thread Dominik Luecke
Hello, it looks quite similar, but it is not completely what I need, I rather need something like inParallel = parMap rwhnf outList = inParallel (map f) listOfLists If I use your construction on the first 2 elements of my list, I see several threads working, but not in the other case.