a bug in srfi-43 Zhu Chongkai (24 Feb 2005 07:22 UTC)
Re: a bug in srfi-43 Taylor Campbell (27 Feb 2005 15:14 UTC)
Re: a bug in srfi-43 David Van Horn (27 Feb 2005 18:19 UTC)

a bug in srfi-43 Zhu Chongkai 24 Feb 2005 07:21 UTC

Hi all,

In Section 4.4. Iteration, the final example of
vector-fold:

Count the number of even numbers in vec.
(vector-fold (lambda (index n counter)
                 (if (even? n) (+ counter 1) counter))
               0 vec)

but shouldn't it be

(vector-fold (lambda (index counter n)

Sincerely,
Zhu Chongkai
http://www.neilvandyke.org/mrmathematica/