This isn't an issue per se, just curious (I am researching Julia subtyping, and we are looking into lower-bounds usages)...
|
function Base.convert(::Type{DataValueArray{T,N}}, A::AbstractArray{S,N}) where {S >: Any,T,N} |
Is there a reason to use A::AbstractArray{S,N} with S >: Any instead of A::AbstractArray{Any,N}?
It seems that there shouldn't be any types distinct from Any that would be supertypes of Any.
This isn't an issue per se, just curious (I am researching Julia subtyping, and we are looking into lower-bounds usages)...
DataValues.jl/src/array/constructors.jl
Line 78 in d568d25
Is there a reason to use
A::AbstractArray{S,N}withS >: Anyinstead ofA::AbstractArray{Any,N}?It seems that there shouldn't be any types distinct from
Anythat would be supertypes ofAny.