This is documentation for Mathematica 4, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)



FilledSmallSquareFold[f, x, list] gives the last element of FoldList[f, x, list].

FilledSmallSquare Example: Fold[f, x, a, b, c] LongRightArrow.

FilledSmallSquare You can use Throw to exit from Fold before it is finished.

FilledSmallSquare See notes for FoldList.

FilledSmallSquare See The Mathematica Book: Section 2.2.2.

FilledSmallSquare See also: Nest.

Further Examples