On 04/25/2013 02:57 PM, Matthias Felleisen wrote:
(eqv? (factorial 1000) (factorial 1000)) ;; ... but they point to observably 
equal numbers, so eqv? uses = to compare them
#t
(eqv? (cons 1 2) (cons 1 2)) ;; distinct pointers point to allocated 
structures, on the other hand, and eqv? compares pointers with pointer equality
#f

I understand the rationale for eq? and equal? - What is the rationale for eqv?

Thanks,
Dave
____________________
 Racket Users list:
 http://lists.racket-lang.org/users

Reply via email to