module Rangops::Set

Module defining basic set operations that can be performed on ranges.

along with some convenient aliases and predicates. Loosely follows conventions of Set module from standard library.

Operations involving 2 ranges require them to overlap to produce result. If the result of operation cannot be expressed as single range, an array of ranges is returned.