Russian translation of the "range" term?
Chris via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Nov 11 08:50:23 PST 2014
On Tuesday, 11 November 2014 at 16:15:36 UTC, Dicebot wrote:
> On Tuesday, 11 November 2014 at 16:14:10 UTC, Chris wrote:
>> Does that entail the concept that ranges (in D) are
>> homogeneous (i.e. every member/item is of the same type)?
>
> Yes (if you mean static type)
>
> ElementType!Range is used extensively in Phobos
Sorry, I meant does the term "набор" (=collection) entail the
concept that all items are of the same type? A collection could
also be a loose collection of elements of different types (int,
string, float, MyClass), whereas in D a range's elements can
(usually) only be of one type.
More information about the Digitalmars-d-learn
mailing list