• v1.0.0 b2bbd94646

    v1.0.0 Stable

    rosa released this 2020-10-11 02:31:01 +00:00 | 405 commits to main since this release

    Added

    • Constructor IntSet.new/0, which creates a new empty set.
    • Constructor IntSet.new/1, which accepts either an enumerable and returns a set containing those elements.
      This constructor also accepts a bitstring.
      See the documentation for details on that behavior.
    • The IntSet.put/2 function.
      Just like MapSet.put/2, this function returns a new set with the given value added.
    • The IntSet.delete/2 function.
      Again, just like MapSet.delete/2.
      Returns a new set with the given value removed.
    • The IntSet.union/2 function.
      Returns a set that contains elements of both given sets.
    • An implementation of Inspect that sorts members before printing them,
      so the order can be relied upon in doctests.
    • An implementation of Collectable.
    • An implementation of Enumerable.
    Downloads