Open sambitdash opened 6 years ago
Base.convert(::Type{Interval{T}}, range::tuple{T, T}) where T
is needed. As in case of IntervalMaps you can set value as t[(1,2)] = 5 but a = t[(1,2)] will fail while t[1:2] will work.
t[(1,2)] = 5
a = t[(1,2)]
t[1:2]
is needed. As in case of IntervalMaps you can set value as
t[(1,2)] = 5
buta = t[(1,2)]
will fail whilet[1:2]
will work.