Skip to content

Commit

Permalink
Add missing 1.4 news note for new function pkgdir() (#33128) (#34663)
Browse files Browse the repository at this point in the history
* add note for new function pkgdir() (#33128)


Co-Authored-By: Fredrik Ekre <ekrefredrik@gmail.com>
Co-authored-by: Viral B. Shah <viral@juliacomputing.com>
Co-authored-by: Fredrik Ekre <ekrefredrik@gmail.com>
  • Loading branch information
3 people authored Mar 4, 2020
1 parent b99ed72 commit b8ce43a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ New library functions
* `takewhile` and `dropwhile` have been added to the Iterators submodule ([#33437]).
* `accumulate` has been added to the Iterators submodule ([#34033]).
* There is a now an `evalpoly` function meant to take the role of the `@evalpoly` macro. The function is just as efficient as the macro while giving added flexibility, so it should be preferred over `@evalpoly`. `evalpoly` takes a list of coefficients as a tuple, so where one might write `@evalpoly(x, p1, p2, p3)` one would instead write `evalpoly(x, (p1, p2, p3))` ([#32753]).
* `pkgdir(ModuleName)` now provides a simpler way to return the package root directory of a module (or submodule) than the typically used `dirname(dirname(pathof(ModuleName)))` ([#33128]).

New library features
--------------------
Expand Down Expand Up @@ -99,6 +100,7 @@ Standard library changes
[#32448]: https://github.com/JuliaLang/julia/issues/32448
[#32739]: https://github.com/JuliaLang/julia/issues/32739
[#32753]: https://github.com/JuliaLang/julia/issues/32753
[#33128]: https://github.com/JuliaLang/julia/issues/33128
[#32968]: https://github.com/JuliaLang/julia/issues/32968
[#33012]: https://github.com/JuliaLang/julia/issues/33012
[#33040]: https://github.com/JuliaLang/julia/issues/33040
Expand Down

0 comments on commit b8ce43a

Please sign in to comment.