This doesn't seem to be a small project :-) By the way, I'm not sure if this is a good idea in Rust, but we might provide two free functions begin and end taking sequence and returning iterators. Anything that can be understood in term of sequence would just need to have an overload of these functions and the for-based loop transformation would be easy to change. This idea just come from my experience in C++ and I'd be happy to know why it wouldn't apply in Rust.

On 12/01/2013 10:23 PM, György Andrasek wrote:
On 12/01/2013 10:02 PM, Ziad Hatahet wrote:
Isn't there a possibility that vector syntax is going to change at some
point?

I believe the plan is to turn [] into a generic container syntax, and expose Vec<T> as the vector type. No idea where I read that though.
_______________________________________________
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev

_______________________________________________
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to