• v3.0.1 1788274a89

    v3.0.1 Stable

    rosa released this 2025-10-24 22:19:23 +00:00 | 40 commits to main since this release

    Fixed

    • Fixed compiler warnings for Elixir 1.19
    Downloads
  • v3.0.0 45036073d3

    v3.0.0 Stable

    rosa released this 2024-07-08 16:57:36 +00:00 | 129 commits to main since this release

    Changed

    • BREAKING: This project will be licensed under the AGPL-3.0-or-later license going forward.
    • Dependency updates
    Downloads
  • v2.0.0 55f09bc7af

    v2.0.0 Stable

    rosa released this 2023-03-30 01:16:35 +00:00 | 199 commits to main since this release

    No known key found for this signature in database
    GPG key ID: BEC39BF873A0103B

    Changed

    • Inspecting an IntSet now returns a string using IntString.new([1, 2, 3, ...]) syntax.
    • The internal binary that IntSet uses to store values is now always byte-aligned,
      and each byte has changed endianness to allow for some internal optimizations.
    • Binaries returned by IntSet.bitstring/1 is now always byte-aligned.

    Removed

    • BREAKING: The byte_align option for IntSet.bitstring/1 was removed.
    Downloads
  • v1.5.2 1e467a9109

    v1.5.2 Stable

    rosa released this 2022-09-06 00:19:02 +00:00 | 231 commits to main since this release

    No known key found for this signature in database
    GPG key ID: BEC39BF873A0103B

    Added

    Changed

    • Fixes for Elixir 1.14 deprecations
    • The project now uses Earthly for CI.
      You can run the entire CI pipeline on your local machine by installing Earthly and running earthly +all.
    Downloads
  • v1.5.1 7ba716eef6

    v1.5.1 Stable

    rosa released this 2021-09-12 18:09:37 +00:00 | 298 commits to main since this release

    No known key found for this signature in database
    GPG key ID: BEC39BF873A0103B

    Added

    • Sponshorship link to mix.exs

    Fixed

    • inspect/2 no longer renders certain sets as charlists.
    Downloads
  • v1.2.1 ce3608a80a

    v1.2.1 Stable

    rosa released this 2020-10-11 03:07:06 +00:00 | 381 commits to main since this release

    Added

    • IntSet.difference/2 now has a typespec.
    • IntSet.disjoint?/2 now has docs and a typespec.

    Changed

    • IntSet.union/2 has been optimized
    Downloads
  • v1.5.0 2329d8b7db

    v1.5.0 Stable

    rosa released this 2020-10-11 02:48:25 +00:00 | 359 commits to main since this release

    Changed

    • IntSet.bitstring/1 is now IntSet.bitstring/2 and now accepts an option: :byte_align.
      When this option is set to true, the bitstring is padded at the end to make it byte-aligned.
    Downloads
  • v1.4.0 efd448da24

    v1.4.0 Stable

    rosa released this 2020-10-11 02:47:13 +00:00 | 371 commits to main since this release

    Added

    • The IntSet.inverse/2 function, which is like taking the difference of your IntSet with a completely-full IntSet with n members.
      Say you have a list of indices, and you want to create a list of all the indices you don't have.
      Just take the inverse, providing a member limit.
    • Added an .editorconfig file to the project.
    Downloads
  • 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
  • v1.1.0 01eb9acb07

    v1.1.0 Stable

    rosa released this 2020-10-11 02:30:54 +00:00 | 396 commits to main since this release

    Added

    • The IntSet.bitstring/1 function.
      Returns a binary with bits flipped at the indices at which the set has members.
      For example, say you have a set containing 0, 1, and 4.
      Calling IntSet.bitstring/1 on that set will return a five-bit-long binary with the first, second, and fifth bits set to 1, and the rest are 0.
    • The library is now typespecced and documented.
    Downloads