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

Documentation / Mathematica / Built-in Functions / Programming / Functional Programming /


FilledSmallSquare MapAll[f, expr] or f //@ expr applies f to every subexpression in expr.

FilledSmallSquare Example: MapAll[f, a,b,c,d] LongRightArrow.

FilledSmallSquare MapAll[f, expr] is equivalent to Map[f, expr, 0, Infinity].

FilledSmallSquare MapAll[f, expr, Heads -> True] applies f inside the heads of the parts of expr.

FilledSmallSquare See Section 2.2.4.

FilledSmallSquare See also: ExpandAll, ReplaceAll.

FilledSmallSquare New in Version 1.

Further Examples