DOCUMENTATION CENTER SEARCH
Mathematica
>
Patterns
>
Built-in
Mathematica
Symbol
Pattern Sequences
Patterns and Transformation Rules
Tutorials »
|
Repeated
Optional
Alternatives
Pattern
Sequence
See Also »
|
Patterns
New in 6.0: Core Language
More About »
PatternSequence
PatternSequence
[
p
1
,
p
2
,
...
]
is a pattern object which represents a sequence of arguments matching
p
1
,
p
2
,
...
.
MORE INFORMATION
PatternSequence
[]
represents a sequence of zero length.
EXAMPLES
CLOSE ALL
Basic Examples
(2)
Replace a subsequence in a list:
In[1]:=
Out[1]=
In[1]:=
Out[1]=
Scope
(2)
SEE ALSO
Repeated
Optional
Alternatives
Pattern
Sequence
TUTORIALS
Pattern Sequences
Patterns and Transformation Rules
MORE ABOUT
Patterns
New in 6.0: Core Language
New in 6
© 2008 Wolfram Research, Inc.