Re: [racket] MysterX: equal and hash-code

2012-04-04 Thread José Lopes
Thank you, Matthew. On quarta-feira, 4 de Abril de 2012 08:48:27, Matthew Flatt wrote: At Tue, 03 Apr 2012 22:28:09 +0800, José Lopes wrote: In MysterX, shouldn't two com-objects that are com-object-eq? also have the same hash-code? Good idea. I've made `com-object-eq?' imply `equal?' and the

Re: [racket] MysterX: equal and hash-code

2012-04-03 Thread Matthew Flatt
At Tue, 03 Apr 2012 22:28:09 +0800, José Lopes wrote: > In MysterX, shouldn't two com-objects that are com-object-eq? also have > the same hash-code? Good idea. I've made `com-object-eq?' imply `equal?' and the same `equal?'-based hash codes. Racket Users list: http://l

[racket] MysterX: equal and hash-code

2012-04-03 Thread José Lopes
Hello everyone, In MysterX, shouldn't two com-objects that are com-object-eq? also have the same hash-code? Regards, José -- José António Branquinho de Oliveira Lopes 58612 - MEIC-A jose.lo...@ist.utl.pt Racket Users list: http://lists.racket-lang.org/users