Julia v1.6 Release Notes
New language features
- Types written with
wheresyntax can now be used to define constructors, e.g.(Foo{T} where T)(x) = ....
Language changes
Compiler/Runtime improvements
- All platforms can now use
@executable_pathwithinjl_load_dynamic_library(). This allows executable-relative paths to be embedded within executables on all platforms, not just MacOS, which the syntax is borrowed from. (#35627)
Command-line option changes
Multi-threading changes
Build system changes
New library functions
New library features
Standard library changes
- The
nextprodfunction now accepts tuples and other array types for its first argument (#35791). - The function
isapprox(x,y)now accepts thenormkeyword argument also for numeric (i.e., non-array) argumentsxandy(#35883).