Skip to content

Commit

Permalink
NEWS updates for Dict comprehensions and map of Dict.
Browse files Browse the repository at this point in the history
ref #17714

[ci skip]
  • Loading branch information
JeffBezanson committed Aug 1, 2016
1 parent 32fecde commit fc3cbc9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions NEWS.md
Expand Up @@ -95,6 +95,9 @@ Language changes
When `x` is global, `x::T = ...` and `global x::T` used to mean type assertion,
but this syntax is now reserved for type declaration ([#964]).

* Dictionary comprehension syntax `[ a=>b for x in y ]` is deprecated.
Use `Dict(a=>b for x in y)` instead ([#16510]).

Library improvements
--------------------

Expand Down Expand Up @@ -339,6 +342,9 @@ This section lists changes that do not have deprecation warnings.
`:comparison` expression type ([#15524]). The `:comparison` expression type is still
produced in ASTs when comparisons are chained (e.g. `A < B ≤ C`).

* `map` on a dictionary now expects a function that expects and returns a `Pair`.
The result is now another dictionary instead of an array ([#16622]).

This comment has been minimized.

Copy link
@zuo

zuo Sep 4, 2016

The issue #16622 seems to be unrelated to map + dictionaries. Shouldn't another issue be referenced here?

This comment has been minimized.

Copy link
@zuo

zuo Sep 24, 2016

@JeffBezanson: shouldn't it be corrected in the latest + 0.5.1 versions of NEWS.md?


Deprecated or removed
---------------------

Expand Down Expand Up @@ -469,6 +475,7 @@ Language tooling improvements
[#16466]: https://github.com/JuliaLang/julia/issues/16466
[#16481]: https://github.com/JuliaLang/julia/issues/16481
[#16502]: https://github.com/JuliaLang/julia/issues/16502
[#16510]: https://github.com/JuliaLang/julia/issues/16510
[#16621]: https://github.com/JuliaLang/julia/issues/16621
[#16622]: https://github.com/JuliaLang/julia/issues/16622
[#16645]: https://github.com/JuliaLang/julia/issues/16645
Expand Down

0 comments on commit fc3cbc9

Please sign in to comment.