ghc-lib-parser-8.10.2.20200916: The GHC API, decoupled from GHC versions

Safe HaskellNone
LanguageHaskell2010

KnownUniques

Contents

Description

This is where we define a mapping from Uniques to their associated known-key Names for things associated with tuples and sums. We use this mapping while deserializing known-key Names in interface file symbol tables, which are encoded as their Unique. See Note [Symbol table representation of names] for details.

Synopsis

Looking up known-key names

knownUniqueName :: Unique -> Maybe Name Source #

Get the Name associated with a known-key Unique.

Getting the Uniques of Names

Anonymous sums

Tuples

Vanilla

Constraint