jastrachan | 10 Jan 10:17 2005
Picon

Re: Another vote for for loops


On 10 Jan 2005, at 08:19, John Wilson wrote:

>
> On 10 Jan 2005, at 07:58, jastrachan@... wrote:
>
>> That looks like a bug in the use of ... which we should fix.
>>
>
> It's a design problem. There is no way of expressing and empty 
> sequence using the .. notation. This is because of the rule about -ve 
> values in ranges.

But ... is exclusive. So

foo ... foo

should be an empty range, irrespective of the value of foo.

James
-------
http://radio.weblogs.com/0112098/


Gmane