##
represents the sequence of arguments supplied to a pure function.
##n
represents the sequence of arguments supplied to a pure function, starting with the n
argument.
SlotSequence 
##
represents the sequence of arguments supplied to a pure function.
##n
represents the sequence of arguments supplied to a pure function, starting with the n
argument.
Details
- ## is used to represent sequences of arguments in pure functions of the form body& or Function[body].
- ## is equivalent to ##1 or SlotSequence[1]. »
- ##n is equivalent to SlotSequence[n]. n must be a positive integer. »
- A sequence of arguments supplied to a pure function is "spliced" into the body of the function wherever ## and so on appear.
Examples
open all close allBasic Examples (2)
Scope (2)
Applications (2)
Programmatically insert a list of iterators into a Table:
Table[a[i, j], ##]&@@{{i, 3}, {j, 2}}Numerically integrate over 1000 variables:
ξ = Array[x, {1000}];
f = 1 / ξ. RandomReal[1, 1000];
lims = Map[{#, 0, 1}&, ξ];Short[f, 5]NIntegrate[f, ##]&@@limsProperties & Relations (2)
The raw object corresponding to ## is a Sequence:
##&[a, b, c, d]#n stands for a single argument:
{#1, #2, #3}&[a, b, c]{##}&[a, b, c]See Also
Tech Notes
Related Guides
History
Introduced in 1988 (1.0)
Text
Wolfram Research (1988), SlotSequence, Wolfram Language function, https://reference.wolfram.com/language/ref/SlotSequence.html.
CMS
Wolfram Language. 1988. "SlotSequence." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/SlotSequence.html.
APA
Wolfram Language. (1988). SlotSequence. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/SlotSequence.html
BibTeX
@misc{reference.wolfram_2026_slotsequence, author="Wolfram Research", title="{SlotSequence}", year="1988", howpublished="\url{https://reference.wolfram.com/language/ref/SlotSequence.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_slotsequence, organization={Wolfram Research}, title={SlotSequence}, year={1988}, url={https://reference.wolfram.com/language/ref/SlotSequence.html}, note=[Accessed: 12-June-2026]}