This is called triangular dispatch and is not currently supported.  But
it may be in the future: https://github.com/JuliaLang/julia/issues/8974

On Fri, 2015-10-09 at 23:17, cheng wang <[email protected]> wrote:
> Hello everyone,
>
> In Julia, T < Array{AbstractFloat} does not mean T in (Array{Float32},
> Array{Float64}, ...).
> I try to use {F<:AbstractFloat, T::Array{F}} to get it, however Jjulia does
> not support this also.
>
> So, what's the Julia's way to achieve this?
>
> Thanks,
> Cheng

Reply via email to