type-map: Type-indexed maps
Maps where keys are types and values can have types depending on their keys.
Data.TypeMap.Dynamic: Simple maps using the
Typeablemechanism, tracking keys at run time. Data.TypeMap.Dynamic.Alt is an alternative API based on type applications rather than passing proxies, available from GHC 8.0.1. See also typerep-map, with a similar interface and better performance.
Data.TypeMap.Vector: Only available from GHC 8.0.1. Maps whose domains are given in their types for compile-time verification and fast indexing.
Two more variants with the same API: Data.TypeMap.List uses lists and Data.TypeMap.Map uses maps (from
containers), trading indexing speed for more efficient creation and modification. Data.TypeMap.Static exports some operations on type lists.
|Versions||0.1.0.0, 0.1.1.0, 0.1.2.0, 0.1.3.0|
|Dependencies||base (>=4.7 && <5), containers, ghc-prim, vector [details]|
|Copyright||2017 Li-yao Xia|
|Source repo||head: git clone https://github.com/Lysxia/type-map|
|Uploaded||by lyxia at Sat Nov 10 17:36:56 UTC 2018|
|Downloads||634 total (20 in the last 30 days)|
|Rating||(no votes yet) [estimated by rule of succession]|
|Status||Docs available [build log]
Last success reported on 2018-11-10 [all 1 reports]
Hackage Matrix CI
For package maintainers and hackage trustees