From: Gavin Sinclair Date: 2003-10-22T23:05:14+09:00 Subject: Re: [Q] Array not Comparable? On Wednesday, October 22, 2003, 11:49:17 PM, ts wrote: >>>>>> "E" == Emmanuel Touzery writes: E>> i'm surprised nobody answers this. a quick google doesn't find anything E>> on this. i find this very interesting too.. > [ruby-talk:22363] Quoting from that ref: > |Good. By the way, when will Array include Comparable ? > > They won't. Arrays are not comparable in general. They are > comparable only when all of their elements are comparable. > > matz. A. "Arrays are not comparable in general." B. Array implements <=>. Seems like a contradiction to me. Gavin