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 /

SlotSequence

FilledSmallSquare ## represents the sequence of arguments supplied to a pure function.

FilledSmallSquare ##n represents the sequence of arguments supplied to a pure function, starting with the n argument.

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

FilledSmallSquare ## is equivalent to SlotSequence[ ] or SlotSequence[1].

FilledSmallSquare ##n is equivalent to SlotSequence[n]. n must be a positive integer.

FilledSmallSquare A sequence of arguments supplied to a pure function is "spliced" into the body of the function wherever ## and so on appear.

FilledSmallSquare See Section 2.2.5.

FilledSmallSquare See also: Sequence.

FilledSmallSquare New in Version 1.

Further Examples