next up previous
Next: Building memq Up: No Title Previous: Symbols and Quote

Symbol Equality

To determine if two numbers are identical, we use the Scheme primitive =. To determine if two symbols are identical, we use the Scheme primitive eq?. For example,

We will discuss other variations of eq? and other equality predicates next week, but remember that the behavior of eq? on numerical arguments is unspecified:



Michael E. Leventon
Tue Mar 23 09:50:05 EST 1999