Case Range Statement ..

Derek Parnell derek at psych.ward
Tue Jul 7 18:14:57 PDT 2009


On Tue, 07 Jul 2009 19:42:00 -0500, Andrei Alexandrescu wrote:

> Derek Parnell wrote:
>> On Tue, 07 Jul 2009 19:29:21 -0500, Andrei Alexandrescu wrote:
>> 
>>> There is no need for a right-closed range in the language. It can be 
>>> defined with ease as a library, although I'm not finding myself in need 
>>> of one.
>> 
>> Process all the characters from 'a' to 'z' inclusive.
>> 
>> Currently, ('a' .. 'z'+1)
>> 
>> Logically, ('a' .. 'z')
> 
> Do we need a language feature for that?

Would any answer make a difference?

-- 
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell



More information about the Digitalmars-d mailing list