Safe Haskell | Trustworthy |
---|---|
Language | Haskell2010 |
Documentation
data SRangeList Source #
SRangeCons !E !E !SRangeList | |
SNil |
A Set
type designed for types that are Enum
as well as Ord
. This allows the RangeSet
to
compress the data when it is contiguous, reducing memory-footprint and enabling otherwise impractical
operations like complement
for Bounded
types.
Since: 0.0.1.0