I am pretty new to Julia and this is driving me nuts:
type MyType{T<:Number}
x::T
y::T
end
Float64 <: Number # this is true
MyType{Float64} <: MyType{Number} #this is for some reason false
I would of course expect that, if I created two concrete types derived from the same parametric type one by using an abstract type as the parameter and the other by using concrete type that is a subtype of the abstract type used for the first derivation, the type derived using the concrete type would be a subtype of the one derived using the abstract type.
That sentence took me a while to compose. Hopefully it is intelligible.