
12 Apr
2010
12 Apr
'10
9:30 p.m.
On Tue, Apr 13, 2010 at 08:40:43AM +1200, Stephen Blackheath [to Haskell-Beginners] wrote:
Another point is that the "a" in "a `seq` b" needs to be a let binding so it's the same "a" as you use in other places, e.g.
let total' = total + value n' = n + 1 in total' `seq` n' `seq` (total, n)
I assume you meant
... in total' `seq` n' `seq` (total', n')
? -Brent