From: David Vanderson (david.vanderson at gmail.com) Date: Thu Apr 25 16:57:57 EDT 2013 |
|
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
Posted on the users mailing list. |
|