ghc-8.4.4: The GHC API

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