Awesome
IntervalSets.jl
Interval Sets for Julia
Quick start
julia> using IntervalSets
julia> i1 = 1.0 .. 3.0
1.0 .. 3.0
julia> i2 = OpenInterval(0..4)
0 .. 4 (open)
julia> i1 ⊆ i2
true
julia> i2 ⊆ i1
false
Please refer to the documentation for comprehensive guides and examples.