[rust-dev] Iterators, lists, vectors
niko at alum.mit.edu
Sun Jan 22 22:14:30 PST 2012
Take a look at the iter library. You can install it via cargo or find
Feedback very welcome.
Some work is needed to make it nicer to use, but the idea is basically
right. Right now there are some limitations to the current impl of
method calls (for example, you cannot bind "a.b(_)") that need to be
patched up to make the whole thing use ifaces and impls rather than
On 1/12/12 12:29 PM, Rust wrote:
> Niko Matsakis <niko at alum.mit.edu> hat am 12. Januar 2012 um 19:18
> > On 1/12/12 9:47 AM, Graydon Hoare wrote:
> > > More generally though, I think block-centric is best, and perhaps
> > > provide a standard vec method that appends-to-a-vec everything fed
> to it.
> > or even:
> > let keys = hash.keys.to_list();
> Actually, this sounds like a good compromise to me.
> I'm looking forward to this.
More information about the Rust-dev