TagSet
or
assigns the evaluated
value
toexpr
and associates the corresponding rule with the symbolf
.
Examples
Create an upvalue without using UpSet
:
The symbol f
must appear as the ultimate head of lhs
or as the head of a leaf in lhs
:
Related terms
Set, SetDelayed, TagSetDelayed
Implementation status
- ✅ - full supported