> One may ask the question: what is seq useful for not in conjunction with
> unsafePerformIO, other than efficiency.  That, I don't know the answer to.

Here is an example.

> main::IO()
> main=do
>      time1 <- getCPUTime
>      w     <- return $! calcSomething
>      time2 <- getCPUTime
...

J.A.

_______________________________________________
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to