"fold": a replacement for "reduce"
monarch_dodra
monarchdodra at gmail.com
Tue Mar 25 11:46:29 PDT 2014
On Tuesday, 25 March 2014 at 18:02:49 UTC, Graham Fawcett wrote:
> My knee-jerk observation is that the documentation for 'fold'
> should indicate that it's a left fold, i.e., the sequence of
> operations associates to the left (in other words, it's
> sequence-iterative, not sequence-recursive). It's a small
> thing, but it might help Haskellers and Schemers to orient
> themselves.
>
> http://srfi.schemers.org/srfi-1/srfi-1.html#fold
> http://srfi.schemers.org/srfi-1/srfi-1.html#fold-right
>
> Graham
Will be noted.
More information about the Digitalmars-d
mailing list