Agda-2.4.2.5: A dependently typed functional programming language and proof assistant

Safe HaskellNone
LanguageHaskell98

Agda.TypeChecking.Monad.Builtin

Contents

Synopsis

Documentation

class (Functor m, Applicative m, Monad m) => HasBuiltins m where Source

Instances

constructorForm :: Term -> TCM Term Source

Rewrite a literal to constructor form if possible.

The names of built-in things

builtinsNoDef :: [String] Source

Builtins that come without a definition in Agda syntax. These are giving names to Agda internal concepts which cannot be assigned an Agda type.

An example would be a user-defined name for Set.

{--}

The type of Type would be Type : Level → Setω which is not valid Agda.

data CoinductionKit Source

The coinductive primitives.

Builtin equality

primEqualityName :: TCM QName Source

Get the name of the equality type.