Hi, Rust seems like a really excellent language. One feature that Rust doesn't seem to have is a built-in list-comprehension syntax. Wikipedia points out that macros can be used to simulate this feature, but the resulting syntax is a bit clunky. Are there plans to add such a syntax to the language?
I'm also curious if there are plans to add a Haskell style do-notation syntax to the language? It seems that macros can also be used to simulate this, but the end result is even more clunky than using macros to simulate list-comprehensions. I would think that such a syntax might be very useful for working with the results from multiple tasks. Thanks, -Palmer Cox
_______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
