enummaps: Enum wrappers for IntMap and IntSet

[ bsd3, data-structures, library ] [ Propose Tags ] [ Report a vulnerability ]

This package provides wrappers for IntMap and IntSet that allow one to use any type with an Enum instance as a key.

Similarities with enummapset-th:

  • Map functions are polymorphic, to match those in Data.Map and Data.Set

Similarities with enummapset:

  • Doesn't use template haskell

Differences from both:

  • unions works on any (representational) Foldable rather than on just lists

  • All functions in Data.Set and Data.Map.* have an equivalent in Data.EnumSet or Data.EnumMap.*

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.6.2.1, 0.6.2.1.1, 0.6.2.1.2, 0.6.2.1.3, 0.6.2.1.4, 0.6.2.1.7 (info)
Change log CHANGELOG.md
Dependencies base (>=4.12 && <4.15), containers (>=0.6.2.1 && <0.7), deepseq (>=1.4 && <1.5) [details]
License BSD-3-Clause
Author Leif Metcalf
Maintainer me@leif.nz
Category Data Structures
Uploaded by leif at 2020-06-23T01:10:44Z
Distributions
Downloads 1252 total (12 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2020-06-23 [all 1 reports]