Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
union :: Enum a => RangeSet a -> RangeSet a -> RangeSet a Source #
Unions two sets together such that if and only if an element appears in either one of the sets, it will appear in the result set.
Since: 0.0.1.0
intersection :: Enum a => RangeSet a -> RangeSet a -> RangeSet a Source #
Intersects two sets such that an element appears in the result if and only if it is present in both of the provided sets.
Since: 0.0.1.0