This is about using the foundations of IntervalSets.jl for my own purposes.
I’d like to be able to dispatch on sets that have zero width (i.e. sets whose end points are identical) differently than on sets with a width larger than zero. So I want to define a new subtype of
CollapsedInterval or some such), and all the functions necessary for all the machinery of
IntervalSets to work as expected. Basically have the same behavior as if I tested
IntervalSets on, say,
For this to work, what is the minimal set of functions I should define for my subtype? I’m asking because in their README.md#L12 they state that this package is intended to be built on, but I couldn’t find the minimal set of functions I’d need to define.