This commit is contained in:
Pavel "LEdoian" Turinsky 2023-01-02 20:35:00 +01:00
parent 07c3ebc7e0
commit 418f0144ab

View file

@ -18,6 +18,7 @@ class RangeSet:
n = int(part)
result.append(range(n, n+1))
return result
# TODO: iteration. Will require deduplication.
# TODO: simplification of inner ranges
# TODO: Set operations: union, intersection, difference?
# TODO: Comparison to classic range objects (only to check that it represents the same numbers)