In a message dated Wed, 9 Oct 2002, Larry Wall writes:
> If only we had Unicode editors, we could just force everyone to use
> the infinity symbol where they mean it.  It seems a shame to make a
> special case of the .. operator.  Maybe we should ... to mean "and so
> on forever":
>
>     @a[0...; 0...:10; 0...:100]
>
> Except then we couldn't use it to mean what Ruby means by it, which
> might be handier in real life.  (It means to exclude the endpoint,
> so 0...4 is the same as 0..3.  But then, that's kind of odd too.)

Oh, but then (0...) would mean "all numbers from zero to infinity,
excluding infinity" which would have the same effect in the real world,
wouldn't it? :-)

Trey

Reply via email to