From: Yukihiro Matsumoto Date: 2005-11-10T23:53:13+09:00 Subject: Re: Question regarding <=> operator and Comparable Mixin Hi, In message "Re: Question regarding <=> operator and Comparable Mixin" on Thu, 10 Nov 2005 16:57:13 +0900, Manuel Kasten writes: |then why doesn't [line10] return nil? a <=> b is nil [6], so is c <=> d [7]. |a == b returns false [10], while c == d returns nil [11]. I expected |both to return nil or both to return false. Right. Although it has its own good reason internally, it is inconsistent. Those two lines should return same values. Let me think about it. If you have any opinion, let me know. matz.