Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Core Language > List Manipulation > Rearranging & Restructuring Lists >
Mathematica > Data Manipulation > Handling Arrays of Data > Rearranging & Restructuring Lists >

Sequence

Sequence[expr1, expr2, ...]
represents a sequence of arguments to be spliced automatically into any function.
  • Assignment and replacement functions have attribute SequenceHold.
Sequence is automatically spliced in:
Sequence is automatically spliced in:
In[1]:=
Click for copyable input
Out[1]=
Replace with a sequence that is automatically spliced in:
Completely flatten out all lists in the argument to a function:
A sequence of arguments matched by __ is treated as a Sequence object:
## represents sequences of arguments by Sequence objects:
A sequence with one argument acts like Identity:
Most Mathematica functions automatically splice in Sequence objects:
Assignment and replacement functions have the attribute SequenceHold:
New in 3
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team