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

Agda.TypeChecking.Functions

Synopsis

Documentation

etaExpandClause :: MonadTCM tcm => Clause -> tcm Clause Source #

Expand a clause to the maximal arity, by inserting variable patterns and applying the body to variables.

getDef :: Term -> TCM (Maybe QName) Source #

Get the name of defined symbol of the head normal form of a term. Returns Nothing if no such head exists.