I have a situation where I require a method only for some subtypes of the interface.
Would it be possible to support something like this for example?
abstract type MyType{T} end
function my_func end
function my_other_func end
@required MyType my_func(::MyType)
@required MyType{<:AbstractVector} my_other_func(::MyType)
I have a situation where I require a method only for some subtypes of the interface.
Would it be possible to support something like this for example?