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.Def

  • 2 types
  • 22 values
  • PackageAgda-2.7.0.1
  • Exports24
  • LanguageHaskell2010
  • LicenceMIT
  • SourceDef.hs

Definitions by pattern matching

14 declarations
valuecheckFunDef'
  1. :: Type

    the type we expect the function to have

  2. -> ArgInfo

    is it irrelevant (for instance)

  3. -> Maybe ExtLamInfo

    does the definition come from an extended lambda (if so, we need to know some stuff about lambda-lifted args)

  4. -> Maybe QName

    is it a with function (if so, what's the name of the parent function)

  5. -> DefInfo

    range info

  6. -> QName

    the name of the function

  7. -> [Clause]

    the clauses to check

  8. -> TCM ()
#

Type check a definition by pattern matching.

valuecheckFunDefS
  1. :: Type

    the type we expect the function to have

  2. -> ArgInfo

    is it irrelevant (for instance)

  3. -> Maybe ExtLamInfo

    does the definition come from an extended lambda (if so, we need to know some stuff about lambda-lifted args)

  4. -> Maybe QName

    is it a with function (if so, what's the name of the parent function)

  5. -> DefInfo

    range info

  6. -> QName

    the name of the function

  7. -> Maybe (Substitution, Map Name LetBinding)

    substitution (from with abstraction) that needs to be applied to module parameters, and let-bindings inherited from parent clause

  8. -> [Clause]

    the clauses to check

  9. -> TCM ()
#

Type check a definition by pattern matching.

datadata WithFunctionProblem
#

Parameters for creating a with-function.

Constructors

Info that is needed after all clauses have been processed.

10 declarations