[plt-scheme] Another question: eq? and eqv?

From: Greg Woodhouse (gregory.woodhouse at sbcglobal.net)
Date: Fri Dec 30 18:51:52 EST 2005

I understand that eq? is supposed to compare objects for identity (like
comparing pointers) and equal? compares objects for value. I also
understand that equal? recursively applies eqv? to the components of a
structure. What is less clear to me is how eq? and eqv? differ. When is
(eq? a b) different from (eqv? a b) ?

===
Gregory Woodhouse  <gregory.woodhouse at sbcglobal.net>
"Interaction is the mind-body problem of computing."
--Philip L. Wadler


Posted on the users mailing list.