
26 Nov
2007
26 Nov
'07
7:41 p.m.
Hello Henning, Monday, November 26, 2007, 9:48:29 PM, you wrote:
I wonder whether it is a typical mistake of beginners to write 'return' within a do-block (that is, not at the end)
don't forget that `return` is also used to force evaluation: do let n = a+b return $! n writeChan c (n,1) -- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com