Case Range Statement ..

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Tue Jul 7 18:20:27 PDT 2009


Derek Parnell wrote:
> 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?

Of course, as long as it has technical merit.

Andrei



More information about the Digitalmars-d mailing list