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

Safe HaskellNone
LanguageHaskell98

Agda.TypeChecking.CheckInternal

Description

A bidirectional type checker for internal syntax.

Performs checking on unreduced terms. With the exception that projection-like function applications have to be reduced since they break bidirectionality.

Synopsis

Documentation

checkType :: Type -> TCM () Source

Entry point for e.g. checking WithFunctionType.

checkInternal :: Term -> Type -> TCM () Source

Entry point for term checking.

data Action Source

Constructors

Action 

Fields

preAction :: Type -> Term -> TCM Term
 
postAction :: Type -> Term -> TCM Term
 

infer :: Term -> TCM Type Source

Infer type of a neutral term.