HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

ModuleAgda-2.7.0.1Haskell2010

Agda.TypeChecking.Monad.MetaVars

  • 3 types
  • 4 classes
  • 72 values
  • PackageAgda-2.7.0.1
  • Exports79
  • LanguageHaskell2010
  • LicenceMIT
  • SourceMetaVars.hs
datadata MetaClass
#

Various classes of metavariables.

Constructors

  • Records

    Meta variables of record type.

  • SingletonRecords

    Meta variables of "hereditarily singleton" record type.

  • Levels

    Meta variables of level type, if type-in-type is activated.

Instances4Bounded, Enum, Eq, Show
  • Bounded MetaClassDefined in Agda-2.7.0.1 · Agda.TypeChecking.Monad.MetaVars
  • Enum MetaClassDefined in Agda-2.7.0.1 · Agda.TypeChecking.Monad.MetaVars
  • Eq MetaClassDefined in Agda-2.7.0.1 · Agda.TypeChecking.Monad.MetaVars
  • Show MetaClassDefined in Agda-2.7.0.1 · Agda.TypeChecking.Monad.MetaVars

Monad service class for creating, solving and eta-expanding of metavariables.

Methods

Instances3MonadMetaSolver
classclass IsInstantiatedMeta a where
#

Check whether all metas are instantiated. Precondition: argument is a meta (in some form) or a list of metas.

Methods

Instances8IsInstantiatedMeta, …

Returns all metavariables in a constraint. Slightly complicated by the fact that blocked terms are represented by two meta variables. To find the second one we need to look up the meta listeners for the one in the UnBlock constraint. This is used for the purpose of deciding if a metavariable is constrained or if it can be generalized over (see Agda.TypeChecking.Generalize).

Query and manipulate interaction points.

36 declarations
classclass (MonadTCEnv m, ReadTCState m) => MonadInteractionPoints (m :: Type -> Type) where
#
Instances6MonadInteractionPoints

Freezing and unfreezing metas.

5 declarations
classclass UnFreezeMeta a where
#

Unfreeze a meta and its type if this is a meta again. Does not unfreeze deep occurrences of meta-variables or remote meta-variables.

Methods

Instances8UnFreezeMeta, …