From: Rick DeNatale Date: 2007-09-21T00:39:56+09:00 Subject: Re: Idiomatic Ruby for Array#extract / Range#length? On 9/20/07, Xavier Noria wrote: > On the other hand note that the definition of Range does not imply > the collection is finite, given suitables #<=> and #succ a range can > represent an enumeration of the rationals in [0, 1]. True in theory, but, I wonder just how you would code succ so as to return the NEXT rational!? -- Rick DeNatale My blog on Ruby http://talklikeaduck.denhaven2.com/