Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Iterators.map #34352

Merged
merged 13 commits into from
Jun 18, 2020
Prev Previous commit
Next Next commit
Merge branch 'master' into Iterators.map
  • Loading branch information
tkf authored Jan 28, 2020
commit e6f59dab9dcb405c78204971c97356d57abe9d23
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,13 @@ Build system changes

New library functions
---------------------

* `Iterators.map` is added. It provides another syntax `Iterators.map(f, iterators...)`
for writing `(f(args...) for args in zip(iterators...))`, i.e. a lazy `map` ([#34352]).
* New functions `mergewith` and `mergewith!` supersede `merge` and `merge!` with `combine`
argument. They don't have the restriction for `combine` to be a `Function` and also
provide one-argument method that returns a closure. The old methods of `merge` and
`merge!` are still available for backward compatibility ([#34296]).
* The new `isdisjoint` function indicates whether two collections are disjoint ([#34427]).

New library features
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.