Differences
This shows you the differences between two versions of the page.
| rl:bindings [2020/11/21 12:59] – created sprowell | rl:bindings [2020/11/21 13:03] (current) – sprowell | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| { bind $x -> 7, $y -> 21 } | { bind $x -> 7, $y -> 21 } | ||
| | | ||
| - | This represents binding the variable | + | This represents binding the variable |
| An important item to consider is that variables are matched on both name and type, but are *bound* by name only. (This is done to make rewriting more efficient.) | An important item to consider is that variables are matched on both name and type, but are *bound* by name only. (This is done to make rewriting more efficient.) | ||