☰

# 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, union, missingOrExcl, isNil, incl, excl, items, ==, <=, =copy, toPackedSet, assign, PackedSet, symmetricDifference, contains, len, $, initPackedSet, <, *, -, excl, disjoint, difference, +, card, intersection, incl, containsOrIncl