
9 Feb
2009
9 Feb
'09
2:23 p.m.
Hello Peter, Monday, February 9, 2009, 5:10:22 PM, you wrote:
If run with ghci, foo 5 does not terminate, i.e., Haskell does not look for all outermost redices in parallel. Why? For efficiency reasons?
of course. if you will create new thread for every cpu instruction executed, you will definitely never compute anything :D you need to use `par` -- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com