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

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

Slot

FilledSmallSquare # represents the first argument supplied to a pure function.

FilledSmallSquare #n represents the n argument.

FilledSmallSquare # is used to represent arguments or formal parameters in pure functions of the form body& or Function[body].

FilledSmallSquare # is equivalent to Slot[1].

FilledSmallSquare #n is equivalent to Slot[n]. n must be a non-negative integer.

FilledSmallSquare #0 gives the head of the function, i.e., the pure function itself.

FilledSmallSquare See Section 2.2.5.

FilledSmallSquare New in Version 1.

Further Examples