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.LHS.Unify.Types

  • 9 types
  • 22 values
  • PackageAgda-2.7.0.1
  • Exports31
  • LanguageHaskell2010
  • LicenceMIT
  • SourceTypes.hs
datadata UnifyState
#

Constructors

Instances3Show, PrettyTCM, Reduce
  • Show UnifyStateDefined in Agda-2.7.0.1 · Agda.TypeChecking.Rules.LHS.Unify.Types
  • PrettyTCM UnifyStateDefined in Agda-2.7.0.1 · Agda.TypeChecking.Rules.LHS.Unify.Types
  • Reduce UnifyStateDefined in Agda-2.7.0.1 · Agda.TypeChecking.Rules.LHS.Unify.Types

    Don't ever reduce the whole varTel, as it will destroy readability of the context in interactive editing! To make sure this insight is not lost, the following dummy instance should prevent a proper Reduce instance for UnifyState.

valuegetEquality :: Int -> UnifyState -> Equality
#

Get the k'th equality in the given state. The left- and right-hand sides of the equality live in the varTel telescope, and the type of the equality lives in the varTel++eqTel telescope

datadata UnifyStep
#
Instances2Show, PrettyTCM
  • Show UnifyStepDefined in Agda-2.7.0.1 · Agda.TypeChecking.Rules.LHS.Unify.Types
  • PrettyTCM UnifyStepDefined in Agda-2.7.0.1 · Agda.TypeChecking.Rules.LHS.Unify.Types