1# 2# 3# Nim's Runtime Library 4# (c) Copyright 2012 Andreas Rumpf 5# 6# See the file "copying.txt", included in this 7# distribution, for details about the copyright. 8# 9 10## Specialization of the generic `packedsets module <packedsets.html>`_ 11## (see its documentation for more examples) for ordinal sparse sets. 12 13import std/private/since 14import std/packedsets 15export packedsets 16 17type 18 IntSet* = PackedSet[int] 19 20proc toIntSet*(x: openArray[int]): IntSet {.since: (1, 3), inline.} = toPackedSet[int](x) 21 22proc initIntSet*(): IntSet {.inline.} = initPackedSet[int]() 23 24