Hi all,
I’m sure this must have been covered somewhere, but a quick google didn’t help me.
I’m updating some code to v0.6 and so replaced all instances of, e.g.
typealias MyFloatVec Vector{Float64}
with
MyFloatVec = Vector{Float64}
But now if I try to defined a function MyFloatVec() = ...
, I get the error message:
ERROR: cannot define function MyFloatVec; it already has a value
which makes perfect sense in hindsight. So, my question:
From v0.6 onwards, are we no longer able to use “type alises” as function names, or is there some way around this?
Cheers,
Colin