TagUnset

f/:lhs=.

removes any rules defined for lhs, associated with the symbol f.

Details

  • Rules are removed only when their lefthand side is identical to lhs, and the tests in Condition given on the righthand side are also identical.

Examples

open allclose all

Basic Examples  (1)

Scope  (2)

Clear immediate definitions:

Clear delayed definitions:

Properties & Relations  (1)

Use =. to clear definitions with a particular left-hand side:

Clear all definitions:

Possible Issues  (1)

To clear an upvalue, the tag is required:

Introduced in 1988
 (1.0)