This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
 Documentation / Mathematica / Built-in Functions / Programming / Assignments  /

  • lhs ^:= rhs assigns rhs to be the delayed value of lhs, and associates the assignment with symbols that occur at level one in lhs.
  • See notes for UpSet and SetDelayed.
  • See the Mathematica book: Section 2.4.10Section 2.4.10.

    Further Examples

    This defines an upvalue for f with respect to Plus.


    The upvalue can now be applied.