Legacy Documentation

Mathematica® Teacher's Edition (2002)

This is documentation for an obsolete product.
Current products and services
 Documentation /  Mathematica Teacher's Edition /  Built-in Functions /  Programming /  Rule Application /

RuleDelayed

FilledSmallSquare lhs :> rhs or lhs rhs represents a rule that transforms lhs to rhs, evaluating rhs only after the rule is used.

FilledSmallSquare The character can be entered as AliasIndicator:>AliasIndicator or \[RuleDelayed].
FilledSmallSquare You can apply rules using Replace.
FilledSmallSquare The assignment lhs := rhs specifies that the rule lhs :> rhs should be used whenever it applies.
FilledSmallSquare You can use Condition to specify when a particular rule applies.
FilledSmallSquare lhs rhs can be entered as lhs \[RuleDelayed] rhs or lhs AliasIndicator:>AliasIndicator rhs.
FilledSmallSquare In most cases, RuleDelayed is printed using .
FilledSmallSquare See notes for Rule.
FilledSmallSquare See The Mathematica Book on the web: Section 2.4.1 and Section A.5.5.
FilledSmallSquare See also: Replace, SetDelayed, Rule.