On 11 March 2014 15:41, Peter Bex <peter....@xs4all.nl> wrote:

> To avoid such mistakes, it's helpful to use mnemonic names:
>
> (fold (lambda (item result) (+ (* result 10) item)) 0 '(1 2 3))
>
>
Thanks. I was mentally reading from left to right, so I ended up assuming
that it was (result item).

Cheers,
Daniel.
-- 
When an engineer says that something can't be done, it's a code phrase that
means it's not fun to do.
_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to