Package-level declarations

Types

Link copied to clipboard

Primitive: Create a set type.

Link copied to clipboard

Primitive: Check if the object is an element of the set.

Link copied to clipboard

Primitive: Answer the difference between two sets (set1 - set2).

Link copied to clipboard

Primitive: Answer the intersection of two sets.

Link copied to clipboard

Primitive: Check if set1 is a subset of set2.

Link copied to clipboard

Primitive: Answer the size of the set.

Link copied to clipboard

Primitive: Convert a set into an arbitrarily ordered tuple. The conversion is unstable – two successive calls may produce different orderings.

Link copied to clipboard

Primitive: Extract a set type's element type.

Link copied to clipboard

Primitive: Extract a set type's range of sizes. This is the range of sizes that a set must fall in to be considered a member of the set type, assuming the elements all satisfy the set type's element type.

Link copied to clipboard

Primitive: Answer the union of two sets.

Link copied to clipboard

Primitive: Answer a new set like the argument but including the new element. If it was already present, answer the original set.

Link copied to clipboard

Primitive: Answer a new set like the argument but without the excluded element. If it was already absent, answer the original set.

Link copied to clipboard

Primitive: Convert a tuple into a set.