On Tue, Jan 4, 2011 at 9:38 AM, Luke Jordan <luke.jor...@gmail.com> wrote:
> All that code came straight out of the text, except that I used if instead
> of cond.  The sum, accu-sum, and g-series defs are all given.  In your

Ah, yes, now I see where the accumulator-based sum is.  Sorry, my mistake.

> results I see a difference.  When I run it at home it's the same.  I can
> even (equal? (sum (listof number)) (accu-sum (listof number))) and get true.

No idea what's going on.  Maybe someone else will have an idea.

--Carl
_________________________________________________
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/users

Reply via email to