Hi, I saw a post<http://www.reddit.com/r/programming/comments/17hqg4/a_little_bit_rusty_practical_approach_on_rust/c86xyor>by Patrick Walton last week on Reddit in which he implied that it is possible to convert Rust enumerator function into a Java-style iterator by applying some magic transformer function to it. Am I reading this right? Are there any examples of doing this in Rust? I can't fathom how that'd be possible without Rust supporting co-routines or, possibly, lazy evaluation, or something like that...
_______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
