Mathematica 9 is now available

Documentation / Mathematica / 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 RuleDelayed has the attribute HoldRest.

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 StandardForm, RuleDelayed is printed using .

FilledSmallSquare See notes for Rule.

FilledSmallSquare See Section 2.5.1 and Section A.5.5.

FilledSmallSquare See also: Replace, SetDelayed, Rule.

FilledSmallSquare New in Version 1; modified in 3.

Further Examples



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.