ghc-8.0.0.20160204: The GHC API

Safe HaskellNone
LanguageHaskell2010

Vectorise.Builtins

Contents

Synopsis

Restrictions

Builtins

data Builtins

Holds the names of the types and functions from Prim that are used by the vectoriser.

Constructors

Builtins 

Fields

Wrapped selectors

Initialisation

initBuiltins :: DsM Builtins

Create the initial map of builtin types and functions.

initBuiltinVars :: Builtins -> DsM [(Var, Var)]

Get the mapping of names in the Prelude to names in the DPH library.