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 #
dropParameters :: TermLike a => a -> TCM a #