# std/intsets

Theme:

- 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: [], forbids: [].}

  Source Edit

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

  Source Edit

# Exports

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