Hello Andrew,

Sunday, November 18, 2007, 10:04:15 PM, you wrote:

> Wait, so...

f x = ...
g = f $! x

> and

f !x = ...
g = f x

> mean the same thing?

in both cases, x is evaluated before evaluating body of x. but of
course, this happens only at the moment when value of (f x) itself is
required


-- 
Best regards,
 Bulat                            mailto:[EMAIL PROTECTED]

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

Reply via email to