Let's step back a moment... to the ORIGINAL PROBLEM that was looking for a
solution:

"
Rust's internal iterators implement the protocol encoded in Rust's for
statement, but it's not possible to give them all a common trait or
implement
generic methods or functions taking any internal iterator.
"

1.  Is the above really A PROBLEM ?

2. If it is a PROBLEM, then what are the plausible solutions that solve it
and keep Graydon happy ?

    a.) Does the solution keep dot-notation ?
    b.) Does the solution support no-arg iteration ? or similar ?
    c.) Does the solution avoid breaking tons of code ?
    d.) Does the solution avoid adding a keyword ?
    e.) Any other hard requirements ?

-- 
-Thad
http://www.freebase.com/view/en/thad_guidry
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to