Wolfram ResearchPRODUCTSPURCHASEFOR USERSCOMPANYOUR SITES
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.

RuleDelayed

Usage

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


Notes

• The character  can be entered as AliasIndicator:>AliasIndicator or \[RuleDelayed].
RuleDelayed has the attribute HoldRest.
• You can apply rules using Replace.
• The assignment lhs := rhs specifies that the rule lhs :> rhs should be used whenever it applies.
• You can use Condition to specify when a particular rule applies.
lhs  rhs can be entered as lhs \[RuleDelayed] rhs or lhs AliasIndicator:>AliasIndicator rhs.
• In StandardForm, RuleDelayed is printed using  .
• See notes for Rule.
• See also: Replace, SetDelayed, Rule.
• New in Version 1; modified in 3.


Any questions about topics on this page? Click here to get an individual response.Buy NowFree TrialMore Information



 © 2009 Wolfram Research, Inc.  Terms of Use  Privacy Policy |
Sign up for our newsletter: