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

Safe Haskell | None
Language | Haskell2010

Agda.TypeChecking.ReconstructParameters

Description

Reconstruct dropped parameters from constructors. Used by with-abstraction to avoid ill-typed abstractions (#745). Note that the term in invalid after parameter reconstruction. Parameters need to be dropped again before using it.

# Documentation

reconstructParametersInType :: Type -> TCM Type #

reconstructParametersInTel :: Telescope -> TCM Telescope #

reconstructParametersInEqView :: EqualityView -> TCM EqualityView #

reconstructParameters :: Type -> Term -> TCM Term #

dropParameters :: TermLike a => a -> TCM a #