[plt-scheme] When does eqv? differ from eq? , from equal?
Shriram Krishnamurthi
sk at cs.brown.edu
Sun Oct 5 14:51:18 EDT 2008
> Heuristically, I think of eq? as being similar to
> comparing pointers in C and equal? as a test that might involve library call
> that could run in time proportional to the size of the objects (e.g.,
> strcmp).
That's a good way to think about the difference. Or you can think of
them as object equality versus structural equality.
> What is the intuition behind eqv?
Beats me. I've never used EQV? in my life.
Shriram
More information about the plt-scheme
mailing list