Arjen van Weelden wrote:

> Personally, I'm often surprised by the laziness introduced by Maybe.

Yes. That's why I chose the return type Boolean in my original post,
and I included the remark on  "Just x with x in whnf".
Mirko used a list, where whnf is not enough.

PS: I am still curious: does threadDelay use
the wall clock or the per-process clock (CPU time)?
And regardless of the answer - how could one obtain
the opposite behaviour? (I don't find this discussed
in the visible docs. Or am I missing something?)

Best regards,
-- 
-- Johannes Waldmann -- Tel/Fax (0341) 3076 6479/80 --
---- http://www.imn.htwk-leipzig.de/~waldmann/ -------

_______________________________________________
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to