
7 Dec
2006
7 Dec
'06
10:46 a.m.
Hello Lennart, Thursday, December 7, 2006, 4:59:57 PM, you wrote:
time $ product [1..1000] `seq` return () instead of time $ doTest wordList2 wordList2 `seq` return () works fine.
because 'product' returns just one value. use the following: time $ (return $! last (doTest wordList2 wordList2)) -- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com