Currently, we use Base.eltype and Base.clamp in our interface. However this can be problematic since people tend to interpret these differently. For instance, eltype(1..2) returns Int. (and hence the broken test at
|
@test_broken eltype(tp) == Tuple{Float64, Float64} |
)
Should we introduce CommonRLSpaces.element_type and CommonRLInterface.clamp to deal with these?
Currently, we use
Base.eltypeandBase.clampin our interface. However this can be problematic since people tend to interpret these differently. For instance,eltype(1..2)returnsInt. (and hence the broken test atCommonRLSpaces.jl/test/product.jl
Line 34 in 00e365d
Should we introduce
CommonRLSpaces.element_typeandCommonRLInterface.clampto deal with these?