I created it during one of AoCs, but finally I have polished it enough to publish it. Nothing fancy, just basic set operations:
- intersection
- difference
- union
It implements Enumerable
, so you can traverse whole set with ease and additionally it has function for returning gaps in the set.
I have no idea how it will be useful for anyone, but it helped me with some AoC tasks, so maybe it will be useful for you as well this December.