HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Package0.6.0.0DataData StructuresTypes

typerep-map

Efficient implementation of a dependent map with types as keys

Modules

3 modules
Internal 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

Used by in this set · 0

Nothing in this set depends on it.