Re: New names for some operations
John Cowan 13 Sep 2015 20:11 UTC
Shiro Kawai scripsit:
> "Reduce" has precedence in CL and some other languages but the usage
> seems a bit more liberal than "fold" - some allows omitting initial
> value, for example.
The difference between reduce and fold is that the seed value is
used only when the sequence being reduced is zero-length: it does
not participate in the "normal" operations.
--
John Cowan http://www.ccil.org/~cowan xxxxxx@ccil.org
You escaped them by the will-death and the Way of the Black Wheel.
I could not. --Great-Souled Sam