HoldAllComplete
HoldAll
and SequenceHold
, and also protects the function from being affected by the upvalues of any arguments. HoldAllComplete
even prevents upvalues from being used, and includes SequenceHold
.
SetAttributes[f, HoldAllComplete]
f[a] ^= 3;
f[a]
f[Sequence[a, b]]