Re: Argument order for folds Marc Nieper-Wißkirchen 31 Aug 2020 20:07 UTC

Am Mo., 31. Aug. 2020 um 22:01 Uhr schrieb John Cowan <xxxxxx@ccil.org>:

> SRFI 1 is legitimately wrong, I think, because people want cons folds, not xcons folds.  [...]

I thought the same as well in the beginning. But the only reason why I
want a cons fold and not a xcons fold may be to implement list-copy
and reverse (with fold/fold-right). But that has to be done only once.

Whatever, for the ranges API, SRFI 133 should set the precedent as
ranges are more vector-like.

(Until we have some other if at all possible consensus for R7RS
(large) "final".)

Marc