# std/intsets

Dark Mode

- Manual
- Standard library
- Index
- Compiler docs
- Fusion docs
- devel, stable

Search:
Source Edit

Specialization of the generic packedsets module (see its documentation for more examples) for ordinal sparse sets.

# Imports

since, packedsets

# Types

    IntSet = PackedSet[int]

  Source Edit

# Procs

    proc initIntSet(): IntSet {.inline, ...raises: [], tags: [].}

  Source Edit

    proc toIntSet(x: openArray[int]): IntSet {.inline, ...raises: [], tags: [].}

  Source Edit

# Exports

clear, union, missingOrExcl, isNil, incl, excl, items, ==, <=, toPackedSet, assign, PackedSet, symmetricDifference, contains, len, $, initPackedSet, <, *, -, excl, disjoint, difference, +, card, intersection, incl, containsOrIncl