A type that can represent Id.Set and Id.CounterDict id ()
Create a set with a single Id
Create a set from a list of Ids
Create a set with the Ids from a Id.List
Create a set with the Ids from a Id.CounterList
Get all of the Ids in a set, sorted from lowest to highest.
Determine if a set is empty.
Determine the number of Ids in the set.
Determine if a Id is in a set.
Insert a Id into a set.
Remove a Id from a set. If the Id is not found, no changes are made.
Same as Id.Counter.accountForIds but can be used with a Set
Keep only the Ids that pass the given test.
Fold over the Ids in a set from lowest Id to highest Id.
Partition a set according to some test. The first set contains all Ids which passed the test, and the second contains the Ids that did not.
Get the difference between the first set and the second. Keeps Ids that do not appear in the second set.
Get the intersection of two sets. Keeps Ids that appear in both sets.
Get the union of two sets. Keep all Ids.
A 'leaky' JSON Decoder for Set.
Any invalid Ids will be skipped instead of failing the entire decoder.
A set type for Ids, is equal to a
Id.Dictwith empty tuples as values