About

Metadata

  • Last updated , by leif
  • License BSD-3-Clause
  • Categories Data Structures
  • Maintained by: me@leif.nz

  • Lottery factor: 0

Links

Installation

Readme

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.*