The latest version of enummapset-th is 0.6.2-1.
enummapset-th
Version 0.6.2 revision 0 uploaded by FumiakiKinoshita.
Package meta
- Synopsis
- TH-generated EnumSet/EnumMap wrappers around IntSet/IntMap.
- Description
This package wraps
IntSet
andIntMap
fromcontainers
, and provides fast sets and maps keyed on any data type with a well-behavedEnum
instance. Useful for derivedEnum
s, newtype'dInt
s, or any data type that can be packed into anInt
: just implementfromEnum
andtoEnum
.The boilerplate is generated using Template Haskell, so unlike
enummapset
it's easier to maintain and keep up-to-date withcontainers
. On the downside, it's less portable.Note that Data.EnumMap.Lazy and Data.EnumMap.Strict provide distinct newtype wrappers, and their respective Functor instances behave as expected, unlike that of
IntMap
which is alway lazy.- Author
- Liyang HU
- Bug reports
- n/a
- Category
- Data
- Copyright
- © 2013−2015 Liyang HU
- Homepage
- https://github.com/tsurucapital/enummapset-th
- Maintainer
- Fumiaki Kinoshita <fumiexcel@gmail.com>
- Package URL
- n/a
- Stability
- n/a