IntSet
Types
Functions
Number of bits in the bitmap (word size).
Mask for extracting suffix (bits within a tip).
Mask for extracting prefix (bits above the tip).
The empty set.
A set with a single element.
Build a set from a list.
Build a set from an ascending list.
Build a set from an ascending list of distinct elements.
Insert an element.
Delete an element.
Is the element in the set?
Is the element not in the set?
Find largest element smaller than the given one.
Find smallest element larger than the given one.
Find largest element smaller than or equal to the given one.
Find smallest element larger than or equal to the given one.
Is the set empty?
Number of elements in the set.
Is the first set a subset of the second?
Is the first set a proper subset of the second?
Are the two sets disjoint?
Union of two sets.
Union of a list of sets.
Difference of two sets.
Intersection of two sets.
Filter elements satisfying a predicate.
Partition by a predicate.
Split at a value.
Split and report membership.
Decompose into pieces based on structure.
Map a function over elements.
Lazy right fold.
Lazy left fold.
Strict right fold.
Strict left fold.
Find minimum element (partial).
Find maximum element (partial).
Lookup minimum element.
Lookup maximum element.
Delete minimum element.
Delete maximum element.
Delete and return minimum.
Delete and return maximum.
View with minimum removed.
View with maximum removed.
All elements in ascending order.
Convert to a list.
Convert to an ascending list.
Convert to a descending list.
Link two disjoint trees.
Smart constructor for Tip.
Smart constructor for Bin.
Check if bit is zero.
Check for match with prefix.
Check for match.
Get prefix.
Get the bitmap for a key.
Is the first mask shorter (higher bit)?
Find branching bit.
Get highest set bit as mask.
Fold right over bits in a bitmap.
Fold left over bits in a bitmap.