Skip to content

Commit

Permalink
Add NEWS.md entry for function composition and negation via operators (
Browse files Browse the repository at this point in the history
  • Loading branch information
Sacha0 authored and tkelman committed May 12, 2017
1 parent 194b246 commit 4ecdf95
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,12 @@ Library improvements
now efficiently yield `SparseVector`s or `SparseMatrix`s as appropriate ([#19239],
[#19371], [#19518], [#19438], [#19690], [#19724], [#19926], [#19934], [#20009]).

* The operators `!` and `` (`\circ<tab>` at the REPL and in most code editors) now
respectively perform predicate function negation and function composition. For example,
`map(!iszero, (0, 1))` is now equivalent to `map(x -> !iszero(x), (0, 1))` and
`map(uppercase ∘ hex, 250:255)` is now equivalent to
`map(x -> uppercase(hex(x)), 250:255)` ([#17155]).

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

Expand Down Expand Up @@ -464,6 +470,7 @@ Deprecated or removed
[#16984]: https://github.com/JuliaLang/julia/issues/16984
[#16986]: https://github.com/JuliaLang/julia/issues/16986
[#17057]: https://github.com/JuliaLang/julia/issues/17057
[#17155]: https://github.com/JuliaLang/julia/issues/17155
[#17261]: https://github.com/JuliaLang/julia/issues/17261
[#17265]: https://github.com/JuliaLang/julia/issues/17265
[#17302]: https://github.com/JuliaLang/julia/issues/17302
Expand Down

0 comments on commit 4ecdf95

Please sign in to comment.