getNext

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Mon Jul 9 08:16:53 PDT 2012


On 7/9/12 10:52 AM, Mehrdad wrote:
> On Monday, 9 July 2012 at 14:48:05 UTC, Andrei Alexandrescu wrote:
>> I think it's about the notion of "input range" that is confusing, a
>> better name would be "single-pass range". One should be perfectly
>> capable of assigning to elements of an input range. A built-in slice
>> is an input range.
>>
>> Andrei
>
> Aren't output ranges single-pass too?

They don't have much of a notion of "pass" because the only primitive of 
output ranges is "put".

Andrei


More information about the Digitalmars-d mailing list