AnderGray / IntervalUnionArithmetic.jl

An implementation of interval union arithmetic in Julia
MIT License
11 stars 4 forks source link

Display of a single interval as a union #7

Closed dpsanders closed 3 years ago

dpsanders commented 3 years ago

Currently there is no way to visually distinguish a single interval from an interval union containing a single interval.

julia> x = 1..2
[1, 2]

julia> IntervalU([x])
[1, 2]
AnderGray commented 3 years ago

Good point, we could use: ⟦1, 2⟧ or maybe [1, 2]∪