Rust needs evert(), which turns an iterator over Result of T into a Result of a collection of T or a collection of errors
currently the most ergonomic way to do this is to wrap a whole pipeline in a function boundary and use `?`.
I can see this being useful for parsing. You often want to report all of the parsing errors to the user in one go, so collecting them into a list or iterator is useful.
But yeah, still relatively obscure.
And I’m guessing, “evert” is simply the respective English word: https://en.wiktionary.org/wiki/evert
As a non-native speaker, I didn’t know that word either…
I can see this being useful for parsing. You often want to report all of the parsing errors to the user in one go, so collecting them into a list or iterator is useful.
But yeah, still relatively obscure.
And I’m guessing, “evert” is simply the respective English word: https://en.wiktionary.org/wiki/evert
As a non-native speaker, I didn’t know that word either…
deleted by creator