HORIZON HASKELLDocslts/ghc-10.0.xfc4e5982026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

Package0.7.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

3 packages

Used by in this set · 0

Nothing in this set depends on it.