SomeType{T} where T:>SomeOtherType

Documentation is in the manual.

I am also surprised by what you get, since

julia> Vector{Number} <: (Vector{T} where T >: String)
false

(also, please use backticks to quote code)

1 Like