enummapset-th: TH-generated EnumSet/EnumMap wrappers around IntSet/IntMap.
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
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.
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.
[Skip to Readme]
Properties
| Versions | 0.5.1.0, 0.6.0.0, 0.6.0.1, 0.6.0.2, 0.6.1.0, 0.6.1.1, 0.6.2, 0.6.2 |
|---|---|
| Change log | CHANGELOG.md |
| Dependencies | base (>=4.9 && <5), containers (>=0.5.3 && <0.7), deepseq (>=1.3), template-haskell (>=2.7) [details] |
| License | BSD-3-Clause |
| Copyright | © 2013−2015 Liyang HU |
| Author | Liyang HU |
| Maintainer | Fumiaki Kinoshita <fumiexcel@gmail.com> |
| Category | Data |
| Home page | https://github.com/tsurucapital/enummapset-th |
| Source repo | head: git clone https://github.com/tsurucapital/enummapset-th.git |
| Uploaded | by FumiakiKinoshita at 2020-07-22T03:53:57Z |
Modules
[Index] [Quick Jump]
Downloads
- enummapset-th-0.6.2.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees