enummapset-th: TH-generated EnumSet/EnumMap wrappers around IntSet/IntMap.

[ bsd3, data, library ] [ Propose Tags ]

This package wraps IntSet and IntMap from containers, and provides fast sets and maps keyed on any data type with a well-behaved Enum instance. Useful for derived Enums, newtype'd Ints, or any data type that can be packed into an Int: just implement fromEnum and toEnum.

The boilerplate is generated using Template Haskell, so unlike enummapset it's easier to maintain and keep up-to-date with containers. On the downside, it's less portable.

Dependencies base (>=4.6 && <5), containers (>= && <0.6), deepseq (>=1.3), template-haskell (>=2.8 && <2.10) [details]
License BSD-3-Clause
Copyright © 2012 Liyang HU
Author Liyang HU
Maintainer enummapset-th@liyang.hu
Revised Revision 1 made by HerbertValerioRiedel at Sun Feb 7 18:36:56 UTC 2016
Category Data
Home page https://github.com/liyang/enummapset-th
Source repo head: git clone http://github.com/liyang/enummapset-th
Uploaded by LiyangHu at Tue Oct 9 01:31:40 UTC 2012
Distributions NixOS:, openSUSE:
Downloads 6537 total (27 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI




Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees