Goops Manual (original) (raw)
Node:Object Comparisons, Next:Cloning Objects, Previous:Error Handling, Up:Miscellaneous Functions
3.11.3 Object Comparisons
object-eqv? | generic |
---|---|
object-eqv? ((x ) (y )) | method |
object-equal? | generic |
object-equal? ((x ) (y )) | method |
Generic functions and default (unspecialized) methods for comparing two GOOPS objects.
The default methods always return #f
. Application class authors may wish to define specialized methods for object-eqv?
andobject-equal?
that compare instances of the same class for equality in whatever sense is useful to the application.