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

GHC 9.14.1 · lts/ghc-9.14.x · 3e2d568 · 2026-10-11

ModuleAgda-2.8.0.2Haskell2010

Agda.TypeChecking.Monad.Base.Types

Data structures for the type checker.

Part of Agda.TypeChecking.Monad.Base, extracted to avoid import cycles.

  • 19 types
  • 4 values
  • PackageAgda-2.8.0.2
  • Exports23
  • LanguageHaskell2010
  • LicenceMIT
  • SourceTypes.hs
datadata Comparison
#
Instances8Eq, Show, Generic, NFData, Pretty, PrettyTCM, …
datadata ContextEntry
#

Constructors

Instances19Show, Generic, NFData, AddContext, Subst, PrettyTCM, …
datadata FileDictWithBuiltins
#

Translation between AbsolutePath and FileId that also knows about Agda's builtin modules.

Constructors

Instances5Generic, NFData, GetFileId, GetIdFile, Rep
datadata HighlightingLevel
#

How much highlighting should be sent to the user interface?

Constructors

  • None
  • NonInteractive
  • Interactive

    This includes both non-interactive highlighting and interactive highlighting of the expression that is currently being type-checked.

Instances7Eq, Ord, Read, Show, Generic, NFData, …
datadata HighlightingMethod
#

How should highlighting be sent to the user interface?

Constructors

Instances6Eq, Read, Show, Generic, NFData, Rep
datadata IPFace' t
#

Datatype representing a single boundary condition: x_0 = u_0, ... ,x_n = u_n ⊢ t = ?n es

Constructors

Instances1Pretty
datadata IsBuiltinModule
#

Discern Agda's primitive modules from other file modules. @IsPrimitiveModule implies IsBuiltinModuleWithSafePostulate implies isBuiltinModule.

Constructors

Instances6Eq, Ord, Show, Generic, NFData, Rep
datadata NamedMeta
#

For printing, we couple a meta with its name suggestion.

Instances5Pretty, PrettyTCM, ToConcrete, EncodeTCM, ConOfAbs
datadata Polarity
#

Polarity for equality and subtype checking.

Constructors

Instances12Eq, Show, Generic, NFData, Pretty, PrettyTCM, …
newtypenewtype SourceFile
#

SourceFiles must exist and be registered in our file dictionary.

Instances6Eq, Ord, Show, Generic, NFData, Rep
datadata FileDictBuilder
#
Instances6Generic, NFData, Null, GetFileId, GetIdFile, Rep
newtypenewtype FileId
#

Unique identifier of a file.

Instances10Enum, Eq, Num, Ord, Show, Generic, …
newtypenewtype AbsolutePath
#

Paths which are known to be absolute.

Note that the Eq and Ord instances do not check if different paths point to the same files or directories.

Instances11Eq, Ord, Read, Show, NFData, Hashable, …