Earlier quoted context omitted.
It's not, but they're both ML-family languages. I had hoped that Rust would be able to offer a similar level of elegance to Scala.
Looking at the example, I can't find a thing in there that is not required (except the obvious `:Vec ` type that is not required). We need `.iter` to tell that iterator is imutable (there is mutable version), we need `.collect` to actually run the iteration. I also don't think objects should have default constructor functions. It may be possible to implement `.zipped` on tuples though.
> (except the obvious `:Vec` type that is not required)
It is required, otherwise, `collect()` doesn't know what type of collection to collect into. > It may be possible to implement `.zipped` on tuples though.
This is impossible without varargs, no?