Agda-2.6.1.3: A dependently typed functional programming language and proof assistant
Safe HaskellNone
LanguageHaskell2010

Agda.TypeChecking.Rules.Builtin

Synopsis

Documentation

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

Bind a builtin thing to an expression.

bindBuiltinNoDef :: String -> 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 :: String -> 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.