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?