HORIZON HASKELLDocslts/ghc-10.0.x8174fa42026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8174fa4 · 2026-10-11

ModuleAgda-2.8.0.2Haskell2010

Agda.TypeChecking.Rules.Def

  • 2 types
  • 22 values
  • PackageAgda-2.8.0.2
  • 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