Package0.6.0.0DataData StructuresTypes
typerep-map
Efficient implementation of a dependent map with types as keys
- Version0.6.0.0
- CategoryData, Data Structures, Types
- LicenceMPL-2.0
- AuthorVeronika Romashkina, Vladislav Zavialov, Dmitrii Kovanikov
- MaintainerKowainik <xrom.xkov@gmail.com>
- Homepagegithub.com/kowainik/typerep-map
- Pinned byhackage typerep-map 0.6.0.0
- Sourcehackage.haskell.org/package/typerep-map-0.6.0.0
Modules
3 modulesInternal modules · 1
Description
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.
Depends on
4 packages- base-4.20.2.0with GHC
- deepseq-1.5.0.0with GHC
- ghc-prim-0.12.0with GHC
- primitive-0.9.1.0in this set
Used by in this set · 0
Nothing in this set depends on it.