Agda-2.6.3.20230930: A dependently typed functional programming language and proof assistant
Safe HaskellSafe-Inferred
LanguageHaskell2010

Agda.TypeChecking.Rules.Builtin

Synopsis

Documentation

bindBuiltin :: BuiltinId -> ResolvedName -> TCM () Source #

Bind a builtin thing to an expression.

bindBuiltinNoDef :: BuiltinId -> QName -> TCM () Source #

Bind a builtin thing to a new name.

Since their type is closed, it does not matter whether we are in a parameterized module when we declare them. We simply ignore the parameters.

bindPostulatedName :: BuiltinId -> ResolvedName -> (QName -> Definition -> TCM Term) -> TCM () Source #

bindPostulatedName builtin q m checks that q is a postulated name, and binds the builtin builtin to the term m q def, where def is the current Definition of q.