SequenceHold
Sequence
objects from being spliced into a function's arguments. Normally, Sequence
will be spliced into a function:
f[Sequence[a, b]]
It does not for SequenceHold
functions:
SetAttributes[f, SequenceHold]
f[Sequence[a, b]]
E.g., Set
has attribute SequenceHold
to allow assignment of sequences to variables:
s = Sequence[a, b];
s
Plus[s]