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 NEWS.md entry for enumerate extension and indexing traits rename #21997

Merged
merged 1 commit into from
May 24, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,11 @@ Library improvements
`map(uppercase ∘ hex, 250:255)` is now equivalent to
`map(x -> uppercase(hex(x)), 250:255)` ([#17155]).

* `enumerate` now supports the two-argument form `enumerate(::IndexStyle, iterable)`.
This form allows specification of the returned indices' style. For example,
`enumerate(IndexLinear, iterable)` yields linear indices and
`enumerate(IndexCartesian, iterable)` yields cartesian indices ([#16378]).

Compiler/Runtime improvements
-----------------------------

Expand Down Expand Up @@ -539,6 +544,11 @@ Deprecated or removed
For example, `isnumber("123")` should now be expressed `all(isnumber, "123")`
([#20342]).

* A few names related to indexing traits have been changed: `LinearIndexing` and
`linearindexing` have been deprecated in favor of `IndexStyle`. `LinearFast` has
been deprecated in favor of `IndexLinear`, and `LinearSlow` has been deprecated in
favor of `IndexCartesian` ([#16378]).

* The two-argument forms of `map` (`map!(f, A)`) and `asyncmap!` (`asyncmap!(f, A)`)
have been deprecated in anticipation of future semantic changes ([#19721]).

Expand Down Expand Up @@ -614,6 +624,7 @@ Command-line option changes
[#12563]: https://github.com/JuliaLang/julia/issues/12563
[#15850]: https://github.com/JuliaLang/julia/issues/15850
[#16213]: https://github.com/JuliaLang/julia/issues/16213
[#16378]: https://github.com/JuliaLang/julia/issues/16378
[#16937]: https://github.com/JuliaLang/julia/issues/16937
[#16961]: https://github.com/JuliaLang/julia/issues/16961
[#16984]: https://github.com/JuliaLang/julia/issues/16984
Expand Down