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:[EMAIL PROTECTED]

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to