On Tue, 11 Nov 2014 16:50:23 +0000
Chris via Digitalmars-d-learn <digitalmars-d-learn@puremagic.com> wrote:

> 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.
on of the meaning is a collection of similar items, yes. or at least
items with the similar purpose/property.

Attachment: signature.asc
Description: PGP signature

Reply via email to