typerep-map: Efficient implementation of a dependent map with types as keys
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.
Warnings:
- 'ghc-options: -O2' is rarely needed. Check that it is giving a real benefit and not just imposing longer compile times on your users.
A dependent map from type representations to values of these types.
Here is an illustration of such a map:
TMap --------------- Int -> 5 Bool -> True Char -> 'x'
In addition to TMap
, we provide TypeRepMap
parametrized by a
vinyl
-style interpretation. This data structure is equivalent to DMap
TypeRep
, but with significantly more efficient lookups.
[Skip to Readme]
Properties
Versions | 0.1.0, 0.2.0, 0.3.0, 0.3.1, 0.3.2, 0.3.2, 0.3.3.0, 0.4.0.0, 0.5.0.0, 0.6.0.0 |
---|---|
Change log | CHANGELOG.md |
Dependencies | base (>=4.10 && <5), containers (>=0.5.10.2 && <0.7), deepseq (>=1.4 && <1.5), ghc-prim (>=0.5.1.1 && <0.6), primitive (>=0.6.4 && <0.7), vector (>=0.12.0.1 && <0.13) [details] |
License | MIT |
Copyright | 2017-2019 Kowainik |
Author | Kowainik, Vladislav Zavialov |
Maintainer | xrom.xkov@gmail.com |
Category | Data, Data Structures, Types |
Home page | https://github.com/kowainik/typerep-map |
Bug tracker | https://github.com/kowainik/typerep-map/issues |
Source repo | head: git clone https://github.com/kowainik/typerep-map.git |
Uploaded | by shersh at 2019-03-27T11:26:08Z |
library typerep-map
library typerep-map:typerep-extra-impls
Modules
[Index] [Quick Jump]
Downloads
- typerep-map-0.3.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