Email list hosting service & mailing list manager

Re: Argiment order of 'kons' procedure in vector-fold and vector-fold-right Arthur A. Gleckler (08 Sep 2016 03:09 UTC)

Re: Argiment order of 'kons' procedure in vector-fold and vector-fold-right Arthur A. Gleckler 08 Sep 2016 03:09 UTC

Shiro Kawai <xxxxxx@gmail.com> writes:

| It's not about vector-cumulate (I didn't find reference to
| how 'kons' was to be called in the referred message; you
| meant different message?)

Sorry, I was confused.

| Now I remember a bit more: At one point, the draft had
| srfi-43 compatible vector-fold/index and the new
| vector-fold; the former calls KONS with (<index> <seed>
| <element> ...), so it was natural that vector-fold (no
| index version) calls KONS with (<seed> <element) ...).
| But we dropped */index version, so we have just
| vector-fold(-right), with KONS calling convention
| different from fold and string-fold.

I'll let the authors, John and Kevin, reply.