multisets: Multisets with arbitrary-precision Natural multiplicities

[ data, library, mit ] [ Propose Tags ] [ Report a vulnerability ]

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.

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.0.1
Change log CHANGELOG.md
Dependencies base (>=4.9 && <4.24), containers (>=0.6.2.1 && <0.9), deepseq (>=1.4 && <1.6) [details]
License MIT
Copyright (c) 2026 Florian Ragwitz
Author Florian Ragwitz
Maintainer florian.ragwitz@gmail.com
Uploaded by rafl at 2026-09-16T17:58:30Z
Category Data
Home page https://github.com/rafl/multisets
Bug tracker https://github.com/rafl/multisets/issues
Source repo head: git clone https://github.com/rafl/multisets -b main
Distributions
Downloads 4 total (4 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2026-09-16 [all 1 reports]