Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum > General > > "Creating a Rule in Code"

Post Reply:
Name:
Email Address:

Please send email when my message is replied to.

Url (optional):
Subject:
Message: view original message?
Attachment (optional):
Please answer this:3+2 =



Original Message (ID '133878') By Patrick:
You can use the head Rule to build up a rule: Rule@@{a,b} gives the rule a->b.