[racket] Implementing an equal? method for a class

From: Gregory Woodhouse (gregwoodhouse at me.com)
Date: Sat Jul 28 23:44:37 EDT 2012

Perfect. That's just what I was looking for. 

Sent from my iPhone

On Jul 28, 2012, at 7:42 PM, Vincent St-Amour <stamourv at ccs.neu.edu> wrote:

> You could have `simple-grid%' implement the `equal<%>' interface.
> 
> http://docs.racket-lang.org/reference/objectequality.html?q=equal%3C%25%3E#%28def._%28%28lib._racket/private/class-internal..rkt%29._equal~3c~25~3e%29%29
> 
> Vincent

Posted on the users mailing list.