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

Raster (modified)NestWhile


FilledSmallSquareApply[f, expr] or f @@ expr replaces the head of expr by f.

FilledSmallSquareApply[f, expr, levelspec] replaces heads in parts of expr specified by levelspec.

FilledSmallSquare Examples: Apply[f, a, b, c] LongRightArrow; Apply[Plus, g[a, b]] LongRightArrow.

FilledSmallSquare Level specifications are described in Section A.3.6.

FilledSmallSquare The default value for levelspec in Apply is {0}.

FilledSmallSquaref @@@ expr is equivalent to Apply[f, expr, 1].

FilledSmallSquare Examples: Apply[f, a,b,c,d] LongRightArrow.

FilledSmallSquareApply[f, a,b,c,d, 1] LongRightArrow.

FilledSmallSquareApply[f, a, -2] LongRightArrow.

FilledSmallSquare See The Mathematica Book: Section 1.8.12 and Section 2.2.3.

FilledSmallSquare See also: Map, Scan, Level, Operate, MapThread.

Further Examples

Raster (modified)NestWhile