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 SlotSequence[] 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 allclose allBasic Examples (2)
Scope (2)
Applications (2)
Programmatically insert a list of iterators into a Table:
Properties & Relations (2)
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