Skip to content

Commit

Permalink
some NEWS edits (ref #12242)
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
JeffBezanson committed Jul 21, 2015
1 parent d087b83 commit b2c286b
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,30 +13,32 @@ New language features

* Unicode version 8 is now supported for identifiers etcetera ([#7917], [#12031]).

* Type parameters now permit any arbitrary `isbits` type, not just
`Int` and `Bool` ([#6081]).
* Type parameters now permit any `isbits` type, not just `Int` and `Bool` ([#6081]).

* Keyword argument names can be computed, using syntax such as `f(; symbol => val)` ([#7704]).

* The `@generated function` enables generation of specialized methods depending
upon the types of its arguments. Sometimes referred to as a staged function,
it operates at two different stages of evaluation. At compile time, the generated
function is called with its arguments bound to the types for which it should
specialize. The quoted expression it returns forms the body of the specialized
method which is then called at run time ([#7311]).
* The syntax `@generated function` enables generation of specialized methods based on
argument types. At compile time, the function is called with its arguments bound to their
types instead of to their values. The function then returns an expression forming the
body of the function to be called at run time ([#7311]).

* [Documentation system](http://docs.julialang.org/en/latest/manual/documentation/)
for functions, methods, types and macros in packages and user code ([#8791]).

* The syntax `function foo end` can be used to introduce a generic function without
yet adding any methods ([#8283]).

* Incremental compilation of modules: ``Base.compile(module::Symbol)`` (stored in `~/.julia/lib/v0.4`)
* Incremental compilation of modules: `Base.compile(module::Symbol)` imports the named module,
but instead of loading it into the current session saves the result of compiling it in
`~/.julia/lib/v0.4`.

* See manual section on `Module initialization and precompilation` (under `Modules`) for details and errata.

* New option `--compile-incremental={yes|no}` added to invoke the equivalent of ``Base.compile`` from the command line.

* The syntax `new{parameters...}(...)` can be used in constructors to specify parameters for
the type to be constructed ([#8135]).

Language changes
----------------

Expand Down Expand Up @@ -1411,6 +1413,7 @@ Too numerous to mention.
[#7992]: https://github.com/JuliaLang/julia/issues/7992
[#8011]: https://github.com/JuliaLang/julia/issues/8011
[#8089]: https://github.com/JuliaLang/julia/issues/8089
[#8135]: https://github.com/JuliaLang/julia/issues/8135
[#8152]: https://github.com/JuliaLang/julia/issues/8152
[#8246]: https://github.com/JuliaLang/julia/issues/8246
[#8283]: https://github.com/JuliaLang/julia/issues/8283
Expand Down

0 comments on commit b2c286b

Please sign in to comment.