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

GHC 9.14.1 · lts/ghc-9.14.x · 45dd537 · 2026-10-11

Moduleghc-tcplugin-api-0.20.1.0Haskell2010

GHC.Builtins

Helper umbrella re-exports of various known entities to GHC: known-key uniques, wired-in types.

  • 151 values

Known-key uniques

7 declarations

Custom type errors (prefer using GHC.TcPlugin.API.mkTcPluginErrorTy)

5 declarations

Equality and coercions

13 declarations

Kinds

18 declarations
valuefUNTyCon :: TyCon
#

The FUN type constructor.

FUN :: forall (m :: Multiplicity) ->
       forall {rep1 :: RuntimeRep} {rep2 :: RuntimeRep}.
       TYPE rep1 -> TYPE rep2 -> Type

The runtime representations quantification is left inferred. This means they cannot be specified with -XTypeApplications.

This is a deliberate choice to allow future extensions to the function arrow.

Runtime representations, levities and multiplicities

18 declarations

Wired-in types

42 declarations

Tuples and sums

19 declarations
valuemkTupleTy :: Boxity -> [Type] -> Type
#

Make a tuple type. The list of types should not include any RuntimeRep specifications. Boxed 1-tuples are flattened. See Note [One-tuples]

valuemkBoxedTupleTy :: [Type] -> Type
#

Build the type of a small tuple that holds the specified type of thing Flattens 1-tuples. See Note [One-tuples].

valuemkTupleTy1 :: Boxity -> [Type] -> Type
#

Make a tuple type. The list of types should not include any RuntimeRep specifications. Boxed 1-tuples are *not* flattened. See Note [One-tuples] and Note [Don't flatten tuples from HsSyn] in GHC.Core.Make

Type-level literals

18 declarations

Primitive types

11 declarations