On Wed, Jun 26, 2013 at 4:29 PM, Uther <[email protected]> wrote: > The proposed syntax already a breaking change, isn't it? > > The "for x in iterable { }" syntax could live along the old "for > iterable.each |x| {}" syntax, > making the transition easier.
The proposed change can be done by making `advance` the identity function and having the compiler build in both stage0 (old for loop) and stage1/stage2 (new for loop). Changing the syntax of the for loop would be a lot harder... it shouldn't be tied to this important semantic change. _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
