Typealias gone in 1.0?


#1

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


#2

The syntax looks like this: const Vector{T} = Array{T,1}.

Here’s an example of it in use in the standard library:


#3

It is currently deprecated and the depwarn will tell you how to fix it.


#4

Great, thanks.