Russian translation of the "range" term?

ketmar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Nov 11 09:01:09 PST 2014


On Tue, 11 Nov 2014 16:50:23 +0000
Chris via Digitalmars-d-learn <digitalmars-d-learn at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20141111/25c3388c/attachment.sig>


More information about the Digitalmars-d-learn mailing list