I understand typealias will be removed in 1.0. I think there was a discussion of replacing it with constants.
Has someone an idea of what it will look like?
Thanks,
Petr
I understand typealias will be removed in 1.0. I think there was a discussion of replacing it with constants.
Has someone an idea of what it will look like?
Thanks,
Petr
The syntax looks like this: const Vector{T} = Array{T,1}
.
Here’s an example of it in use in the standard library:
https://github.com/JuliaLang/julia/blob/master/base/array.jl
It is currently deprecated and the depwarn will tell you how to fix it.
Great, thanks.