HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

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.