multisets

Multisets with arbitrary-precision Natural multiplicities

https://github.com/rafl/multisets

Stackage Nightly 2026-09-18:0.1.0.1
Latest on Hackage:0.1.0.1

See all snapshots multisets appears in

MIT licensed by Florian Ragwitz
Maintained by [email protected]
This version can be pinned in stack with:multisets-0.1.0.1@sha256:76d18a537095f00e91be7827725b8587458595b22f842b34feed71dfbf414540,2059

Module documentation for 0.1.0.1

Finite multisets with arbitrary-precision Natural multiplicities.

A MultiSet is like a Data.Set.Set, except that values may occur more than once. The number of occurrences of a value is its multiplicity.

Unlike Data.MultiSet, this package represents multiplicities using Natural rather than Int, allowing them to grow beyond the range of Int while reflecting that multiplicities cannot be negative.

The API is broadly similar to Data.MultiSet, and many common uses are source-compatible after changing the module import.

Changes

Revision history for multisets

0.1.0.1 – 2026-09-16

  • Bump QuickCheck bounds to allow 2.19.

0.1.0.0 – 2026-09-15

  • First version. Released on an unsuspecting world.