Pattern Sequences
In some cases you may need to specify pattern sequences that are more intricate than things like x__ or x..; for such situations you can use PatternSequence[p1,p2,…].
PatternSequence[p1,p2,…] | a sequence of arguments matching p1,p2,… |
In[1]:= |
The empty sequence, PatternSequence[], is sometimes useful to specify an optional argument.