UpValues

UpValues[f]
gives a list of transformation rules corresponding to all upvalues defined for the symbol f.

Details and OptionsDetails and Options

  • You can specify the upvalues for f by making an assignment of the form UpValues[f]=list.
  • The list returned by UpValues has elements of the form HoldPattern[lhs]:>rhs.
New in 2 | Last modified in 3
New to Mathematica? Find your learning path »
Have a question? Ask support »