HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

ModuleAgda-2.7.0.1Haskell2010

Agda.TypeChecking.Rules.Application

  • 7 values
  • PackageAgda-2.7.0.1
  • Exports7
  • LanguageHaskell2010
  • LicenceMIT
  • SourceApplication.hs
valuecheckArguments_
  1. :: Comparison

    Comparison for target

  2. -> ExpandHidden

    Eagerly insert trailing hidden arguments?

  3. -> Range

    Range of application.

  4. -> [NamedArg Expr]

    Arguments to check.

  5. -> Telescope

    Telescope to check arguments against.

  6. -> TCM (Elims, Telescope)

    Checked arguments and remaining telescope if successful.

#

Check that a list of arguments fits a telescope. Inserts hidden arguments as necessary. Returns the type-checked arguments and the remaining telescope.

valuecheckApplication :: Comparison -> Expr -> Args -> Expr -> Type -> TCM Term
#

checkApplication hd args e t checks an application. Precondition: Application hs args = appView e

checkApplication disambiguates constructors (and continues to checkConstructorApplication) and resolves pattern synonyms.