Node:Object Comparisons, Next:, Previous:Error Handling, Up:Miscellaneous Functions



3.11.3 Object Comparisons

object-eqv? generic
object-eqv? ((x <top>) (y <top>)) method
object-equal? generic
object-equal? ((x <top>) (y <top>)) 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? and object-equal? that compare instances of the same class for equality in whatever sense is useful to the application.