Rust-like collect in D
Andrei Alexandrescu via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Oct 12 18:15:22 PDT 2016
On 10/06/2016 10:32 AM, Nordlöw wrote:
> Is there a concept in D similar to Rust's `collect`:
>
> https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.collect
That's "make" in std.container. Is that what you're looking for? As an
aside, "collect" is an awful abbreviation of "collection". -- Andrei
More information about the Digitalmars-d-learn
mailing list