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

The enummapset-th package

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.

Properties

Versions0.5.1.0, 0.6.0.0
Dependenciesbase (≥4.6 & <5), containers (≥0.5.1.0 & <0.6), deepseq (≥1.3), template-haskell (≥2.8)
LicenseBSD3
Copyright© 2012 Liyang HU
AuthorLiyang HU
Maintainerenummapset-th@liyang.hu
CategoryData
Home pagehttps://github.com/liyang/enummapset-th
Source repositorygit clone http://github.com/liyang/enummapset-th
Upload dateTue Oct 9 01:31:40 UTC 2012
Uploaded byLiyangHu
Built onghc-7.6

Modules

Downloads