ModuleAgda-2.8.0.2Haskell2010
Agda.TypeChecking.Monad.Base
- 179 types
- 14 classes
- 459 values
- PackageAgda-2.8.0.2
- Exports671
- LanguageHaskell2010
- LicenceMIT
- SourceBase.hs
pattern Function :: [Clause] -> Maybe CompiledClauses -> Maybe SplitTree -> Maybe Compiled -> [Clause] -> FunctionInverse -> Maybe [QName] -> Either ProjectionLikenessMissing Projection -> SmallSet FunctionFlag -> Maybe Bool -> Maybe ExtLamInfo -> Maybe QName -> Maybe QName -> IsOpaque -> Defnpattern Primitive :: IsAbstract -> PrimitiveId -> [Clause] -> FunctionInverse -> Maybe CompiledClauses -> IsOpaque -> DefnName of absurdLambda definitions.
Not quite all reductions (skip non-terminating reductions)
Preserve the state of the failing computation.
The current modality. Note that the returned cohesion component is always unitCohesion.
Has the definition failed the termination checker?
Has the definition not termination checked or did the check fail?
Create a definition with sensible defaults.
By default, we have no display form.
The default InteractionOutputCallback function prints certain things to stdout (other things generate internal errors).
Turn a Comparison function into a CompareDirection function.
Property: dirToCmp f (fromCmp cmp) = f cmp
Note that this lens does not satisfy all lens laws: If hard compile-time mode is enabled, then quantities other than zero are replaced by __IMPOSSIBLE__.
A template for creating Function definitions, with sensible defaults.
Base name for extended lambda patterns
Execute a finalizer even when an exception is thrown. Does not catch any errors. In case both the regular computation and the finalizer throw an exception, the one of the finalizer is propagated.
Flip the direction of comparison.
Runs the given computation in a separate thread, with a copy of the current state and environment.
Note that Agda sometimes uses actual, mutable state. If the
computation given to forkTCM tries to modify this state, then
bad things can happen, because accesses are not mutually exclusive.
The forkTCM function has been added mainly to allow the thread to
read (a snapshot of) the current state in a convenient way.
Note also that exceptions which are raised in the thread are not propagated to the parent, so the thread should not do anything important.
Embed Comparison into CompareDirection.
Toggle the FunAbstract flag.
Toggle the FunAbstract flag.
Toggle the FunAbstract flag.
Toggle the FunAbstract flag.
Toggle the FunErasure flag.
Toggle the FunFirstOrder flag.
Toggle the FunProj flag.
Toggle the FunProj flag.
Base name for generalized variable projections
Check whether we have a generalized variable field
Combines the source hash and the (full) hashes of the imported modules.
ifTopLevelAndHighlightingLevelIs l m runs m when we're
type-checking the top-level module (or before we've started doing
this) and the highlighting level is at least l.
ifTopLevelAndHighlightingLevelIs l b m runs m when we're
type-checking the top-level module (or before we've started doing
this) and either the highlighting level is at least l or b is
True.
Empty session state.
Empty persistent state.
Empty state of type checker.
An initial MetaId.
A lens for the iSignature field of the Interface type.
Check whether we have an definition from an absurd lambda.
Checking whether we are dealing with a function yet to be defined.
Check whether we have an definition from an extended lambda.
Should warnings of that type be serialized?
Only when changes in the source code can silence or influence the warning.
Modify the lens-indicated part of the TCEnv in a subcomputation.
Utility function for 1-arg constructed type errors.
Note that the HasCallStack constraint is on the *resulting* function.
A variant of modifyTC in which the computation is strict in the new state.
Modify the part of the TCState focused on by the lens.
Modify the part of the TCState focused on by the lens (strictly).
Modify a part of the state monadically.
This is an instance of %==.
Base name for patterns in telescopes
The info of the principal (record) argument.
Building the projection function (which drops the parameters).
Is the record type recursive?
Conceptually: redBind m f k = either (return . Left . f) k =<< m
runSafeTCM runs a safe TCM action (a TCM action which cannot fail, except that it might raise IOExceptions) in the initial environment.
Running the type checking monad (most general form).
Running the type checking monad on toplevel (with initial state).
Make sure we do not overwrite a user specification.
Overwrite the part of the TCState focused on by the lens.
Overwrite the part of the TCState focused on by the lens (strictly).
Get the file name of a SourceFile.
Get make a SourceFile from a file name.
use areWeCaching from the Caching module instead.
Note that the lens is "strict".
Modify the part of the TCState focused on by the lens, and return some result.
Modify a part of the state monadically, and return some result.
This is an instance of %%=.
Append an ArgName to a MetaNameSuggestion, for computing the name suggestions of eta-expansion metas. If the MetaNameSuggestion is empty or an underscore, the field name is taken as the suggestion.
Lookup the path of a top level module name, which must be a known one.
Union two Builtins. Only defined for BuiltinRewriteRelations.
Constructors
AbstractModeAbstract things in the current module can be accessed.
ConcreteModeNo abstract things can be accessed.
IgnoreAbstractModeAll abstract things can be accessed.
Instances5Eq, Show, Generic, NFData, Rep
Eq AbstractModeDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseShow AbstractModeDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric AbstractModeDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData AbstractModeDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Basetype Rep AbstractMode = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"AbstractMode"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"AbstractMode"
'PrefixI 'False) U1 :+: (C1 ('MetaCons"ConcreteMode"
'PrefixI 'False) U1 :+: C1 ('MetaCons"IgnoreAbstractMode"
'PrefixI 'False) U1))
Controlling reduce.
Constructors
ProjectionReductions(Projection and) projection-like functions may be reduced.
InlineReductionsFunctions marked INLINE may be reduced.
CopatternReductionsCopattern definitions may be reduced.
FunctionReductionsNon-recursive functions and primitives may be reduced.
RecursiveReductionsEven recursive functions may be reduced.
LevelReductionsReduce
Levelterms.TypeLevelReductionsAllow
allReductionsin types, even if not allowed at term level (used by confluence checker)UnconfirmedReductionsFunctions whose termination has not (yet) been confirmed.
NonTerminatingReductionsFunctions that have failed termination checking.
Instances10Bounded, Enum, Eq, Ord, Show, Ix, …
Bounded AllowedReductionDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseEnum AllowedReductionDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseEq AllowedReductionDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseOrd AllowedReductionDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseShow AllowedReductionDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseIx AllowedReductionDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric AllowedReductionDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData AllowedReductionDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseSmallSetElement AllowedReductionDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Basetype Rep AllowedReduction = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"AllowedReduction"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (((C1 ('MetaCons"ProjectionReductions"
'PrefixI 'False) U1 :+: C1 ('MetaCons"InlineReductions"
'PrefixI 'False) U1) :+: (C1 ('MetaCons"CopatternReductions"
'PrefixI 'False) U1 :+: C1 ('MetaCons"FunctionReductions"
'PrefixI 'False) U1)) :+: ((C1 ('MetaCons"RecursiveReductions"
'PrefixI 'False) U1 :+: C1 ('MetaCons"LevelReductions"
'PrefixI 'False) U1) :+: (C1 ('MetaCons"TypeLevelReductions"
'PrefixI 'False) U1 :+: (C1 ('MetaCons"UnconfirmedReductions"
'PrefixI 'False) U1 :+: C1 ('MetaCons"NonTerminatingReductions"
'PrefixI 'False) U1))))
Constructors
ACStateacCheckedArgs :: [CheckedArg]Checked and inserted arguments so far.
acFun :: ExprThe function applied to the already checked arguments.
acType :: TypeType of the function (for checking the remaining arguments).
acData :: a
Instances1Show
Show a => Show (ArgsCheckState a)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base
Constructors
AxiomData_axiomConstTransp :: BoolCan transp for this postulate be constant? Set to
Truefor bultins like String.
Instances4Show, Generic, NFData, Rep
Show AxiomDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric AxiomDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData AxiomDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Basetype Rep AxiomData = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"AxiomData"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"AxiomData"
'PrefixI 'True) (S1 ('MetaSel ('Just"_axiomConstTransp"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))
Instances18MonadTrans, Monad, Functor, MonadFail, Applicative, MonadIO, …
MonadTrans BlockTDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonad m => Monad (BlockT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseFunctor m => Functor (BlockT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadFail m => MonadFail (BlockT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonad m => Applicative (BlockT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadIO m => MonadIO (BlockT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseHasOptions m => HasOptions (BlockT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonad m => MonadBlock (BlockT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadReduce m => MonadReduce (BlockT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadTCEnv m => MonadTCEnv (BlockT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadTCM m => MonadTCM (BlockT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadTCState m => MonadTCState (BlockT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseReadTCState m => ReadTCState (BlockT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseHasBuiltins m => HasBuiltins (BlockT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BuiltinMonadAddContext m => MonadAddContext (BlockT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.ContextMonadDebug m => MonadDebug (BlockT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.DebugPureTCM m => PureTCM (BlockT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.PureHasConstInfo m => HasConstInfo (BlockT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Signature
Instances10Functor, Foldable, Traversable, Show, Generic, NFData, …
Functor BuiltinDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseFoldable BuiltinDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseTraversable BuiltinDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseShow pf => Show (Builtin pf)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric (Builtin pf)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData pf => NFData (Builtin pf)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNamesIn a => NamesIn (Builtin a)Defined in Agda-2.8.0.2 · Agda.Syntax.Internal.NamesInstantiateFull a => InstantiateFull (Builtin a)Defined in Agda-2.8.0.2 · Agda.TypeChecking.ReduceEmbPrj a => EmbPrj (Builtin a)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Serialise.Instances.Internal · orphantype Rep (Builtin pf) = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"Builtin"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"Builtin"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term)) :+: (C1 ('MetaCons"Prim"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 pf)) :+: C1 ('MetaCons"BuiltinRewriteRelations"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set QName)))))
Constructors
BuiltinData (TCM Type) [BuiltinId]BuiltinDataCons (TCM Type)BuiltinPrim PrimitiveId (Term -> TCM ())BuiltinSort BuiltinSortBuiltinPostulate Relevance (TCM Type)BuiltinUnknown (Maybe (TCM Type)) (Term -> Type -> TCM ())Builtin of any kind. Type can be checked (
Just t) or inferred (Nothing). The second argument is the hook for the verification function.
Constructors
Constructors
Instances7Eq, Show, Generic, NFData, KillRange, EmbPrj, …
Eq BuiltinSortDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseShow BuiltinSortDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric BuiltinSortDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData BuiltinSortDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseKillRange BuiltinSortDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseEmbPrj BuiltinSortDefined in Agda-2.8.0.2 · Agda.TypeChecking.Serialise.Instances.Internal · orphantype Rep BuiltinSort = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"BuiltinSort"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) ((C1 ('MetaCons"SortUniv"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Univ)) :+: C1 ('MetaCons"SortOmega"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Univ))) :+: (C1 ('MetaCons"SortIntervalUniv"
'PrefixI 'False) U1 :+: C1 ('MetaCons"SortLevelUniv"
'PrefixI 'False) U1))
A log of what the type checker does and states after the action is completed. The cached version is stored first executed action first.
Constructors
CheckClause Type SpineClauseCheckLHS SpineLHSCheckPattern Pattern Telescope TypeCheckPatternLinearityType NameCheckPatternLinearityValue NameCheckLetBinding LetBindingInferExpr ExprCheckExprCall Comparison Expr TypeCheckDotPattern Expr TermCheckProjection Range QName TypeIsTypeCall Comparison Expr SortIsType_ ExprInferVar NameInferDef QNameCheckArguments Expr [NamedArg Expr] Type (Maybe Type)CheckMetaSolution Range MetaId Type TermCheckTargetType Range Type TypeCheckDataDef Range QName [LamBinding] [Constructor]CheckRecDef Range QName [LamBinding] [Constructor]CheckConstructor QName Telescope Sort ConstructorCheckConArgFitsIn QName Bool Type SortCheckFunDefCall Range QName [Clause] BoolHighlight (interactively) if and only if the boolean is True.
CheckPragma Range PragmaCheckPrimitive Range QName ExprCheckIsEmpty Range TypeCheckConfluence QName QNameCheckModuleParameters ModuleName TelescopeCheckWithFunctionType TypeCheckSectionApplication Range Erased ModuleName ModuleApplicationCheckNamedWhere ModuleNameCheckIApplyConfluence Range QName Term Term Term TypeChecking a clause for confluence with endpoint reductions. Always
φ ⊢ f vs = rhsfor now, but we store the simplifications off vs[φ]andrhs[φ].ScopeCheckExpr ExprScopeCheckDeclaration NiceDeclarationScopeCheckLHS QName PatternNoHighlightingModuleContentsInteraction command: show module contents.
SetRange Rangeused by
setCurrentRange
Instances6Generic, NFData, Pretty, HasRange, PrettyTCM, Rep
Generic CallDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData CallDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePretty CallDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseHasRange CallDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePrettyTCM CallDefined in Agda-2.8.0.2 · Agda.TypeChecking.Pretty.Call · orphantype Rep Call = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"Call"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (((((C1 ('MetaCons"CheckClause"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SpineClause)) :+: C1 ('MetaCons"CheckLHS"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SpineLHS))) :+: (C1 ('MetaCons"CheckPattern"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Pattern) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Telescope) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type))) :+: C1 ('MetaCons"CheckPatternLinearityType"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Name)))) :+: ((C1 ('MetaCons"CheckPatternLinearityValue"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Name)) :+: C1 ('MetaCons"CheckLetBinding"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 LetBinding))) :+: (C1 ('MetaCons"InferExpr"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr)) :+: (C1 ('MetaCons"CheckExprCall"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Comparison) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type))) :+: C1 ('MetaCons"CheckDotPattern"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term)))))) :+: (((C1 ('MetaCons"CheckProjection"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type))) :+: C1 ('MetaCons"IsTypeCall"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Comparison) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Sort)))) :+: (C1 ('MetaCons"IsType_"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr)) :+: C1 ('MetaCons"InferVar"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Name)))) :+: ((C1 ('MetaCons"InferDef"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName)) :+: C1 ('MetaCons"CheckArguments"
'PrefixI 'False) ((S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [NamedArg Expr])) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Type))))) :+: (C1 ('MetaCons"CheckMetaSolution"
'PrefixI 'False) ((S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 MetaId)) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term))) :+: (C1 ('MetaCons"CheckTargetType"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type))) :+: C1 ('MetaCons"CheckDataDef"
'PrefixI 'False) ((S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName)) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [LamBinding]) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Constructor])))))))) :+: ((((C1 ('MetaCons"CheckRecDef"
'PrefixI 'False) ((S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName)) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [LamBinding]) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Constructor]))) :+: C1 ('MetaCons"CheckConstructor"
'PrefixI 'False) ((S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Telescope)) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Sort) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Constructor)))) :+: (C1 ('MetaCons"CheckConArgFitsIn"
'PrefixI 'False) ((S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Sort))) :+: C1 ('MetaCons"CheckFunDefCall"
'PrefixI 'False) ((S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName)) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Clause]) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))))) :+: ((C1 ('MetaCons"CheckPragma"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Pragma)) :+: C1 ('MetaCons"CheckPrimitive"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr)))) :+: (C1 ('MetaCons"CheckIsEmpty"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type)) :+: (C1 ('MetaCons"CheckConfluence"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName)) :+: C1 ('MetaCons"CheckModuleParameters"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ModuleName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Telescope)))))) :+: (((C1 ('MetaCons"CheckWithFunctionType"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type)) :+: C1 ('MetaCons"CheckSectionApplication"
'PrefixI 'False) ((S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Erased)) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ModuleName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ModuleApplication)))) :+: (C1 ('MetaCons"CheckNamedWhere"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ModuleName)) :+: (C1 ('MetaCons"CheckIApplyConfluence"
'PrefixI 'False) ((S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term))) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type)))) :+: C1 ('MetaCons"ScopeCheckExpr"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr))))) :+: ((C1 ('MetaCons"ScopeCheckDeclaration"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NiceDeclaration)) :+: C1 ('MetaCons"ScopeCheckLHS"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Pattern))) :+: (C1 ('MetaCons"NoHighlighting"
'PrefixI 'False) U1 :+: (C1 ('MetaCons"ModuleContents"
'PrefixI 'False) U1 :+: C1 ('MetaCons"SetRange"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range))))))))
Information about a call.
Constructors
CallInfocallInfoTarget :: QNameTarget function name. (Contains its range.)
callInfoCall :: Closure TermTo be formatted representation of the call.
Instances7Show, Generic, NFData, Pretty, HasRange, PrettyTCM, …
Show CallInfoDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric CallInfoDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData CallInfoDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePretty CallInfoDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseWe only show the name of the callee.
HasRange CallInfoDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePrettyTCM CallInfoDefined in Agda-2.8.0.2 · Agda.TypeChecking.Pretty.Call · orphantype Rep CallInfo = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"CallInfo"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"CallInfo"
'PrefixI 'True) (S1 ('MetaSel ('Just"callInfoTarget"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel ('Just"callInfoCall"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Closure Term))))
A candidate solution for an instance meta is a term with its type. It may be the case that the candidate is not fully applied yet or of the wrong type, hence the need for the type.
Constructors
Instances16Eq, Ord, Show, Generic, NFData, Subst, …
Eq CandidateDefined in Agda-2.8.0.2 · Agda.TypeChecking.Substitute · orphanOrd CandidateDefined in Agda-2.8.0.2 · Agda.TypeChecking.Substitute · orphanShow CandidateDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric CandidateDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData CandidateDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseSubst CandidateDefined in Agda-2.8.0.2 · Agda.TypeChecking.Substitute · orphanPrettyTCM CandidateDefined in Agda-2.8.0.2 · Agda.TypeChecking.PrettyReduce CandidateDefined in Agda-2.8.0.2 · Agda.TypeChecking.ReduceSimplify CandidateDefined in Agda-2.8.0.2 · Agda.TypeChecking.ReduceInstantiate CandidateDefined in Agda-2.8.0.2 · Agda.TypeChecking.ReduceNormalise CandidateDefined in Agda-2.8.0.2 · Agda.TypeChecking.ReduceFree CandidateDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseHasOverlapMode CandidateDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseInstantiateFull CandidateDefined in Agda-2.8.0.2 · Agda.TypeChecking.Reducetype Rep Candidate = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"Candidate"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"Candidate"
'PrefixI 'True) ((S1 ('MetaSel ('Just"candidateKind"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CandidateKind) :*: S1 ('MetaSel ('Just"candidateTerm"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term)) :*: (S1 ('MetaSel ('Just"candidateType"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type) :*: S1 ('MetaSel ('Just"candidateOverlap"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OverlapMode))))type SubstArg Candidate = TermDefined in Agda-2.8.0.2 · Agda.TypeChecking.Substitute · orphan
Constructors
Instances6Eq, Ord, Show, Generic, NFData, Rep
Eq CandidateKindDefined in Agda-2.8.0.2 · Agda.TypeChecking.Substitute · orphanOrd CandidateKindDefined in Agda-2.8.0.2 · Agda.TypeChecking.Substitute · orphanShow CandidateKindDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric CandidateKindDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData CandidateKindDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Basetype Rep CandidateKind = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"CandidateKind"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"LocalCandidate"
'PrefixI 'False) U1 :+: C1 ('MetaCons"GlobalCandidate"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName)))
Extra information for error CannotQuote.
Constructors
CannotQuoteAmbiguous (List2 QName)quoteis applied to an ambiguous name.CannotQuoteExpression Exprquoteis applied to an expression that is not an unambiguous defined name.CannotQuoteHiddenquoteis applied to a non-visible argument.CannotQuoteNothingquoteis unapplied.CannotQuotePattern (NamedArg Pattern)quoteis applied to a pattern that is not an unambiguous defined name.
Instances4Show, Generic, NFData, Rep
Show CannotQuoteDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric CannotQuoteDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData CannotQuoteDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Basetype Rep CannotQuote = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"CannotQuote"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) ((C1 ('MetaCons"CannotQuoteAmbiguous"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (List2 QName))) :+: C1 ('MetaCons"CannotQuoteExpression"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr))) :+: (C1 ('MetaCons"CannotQuoteHidden"
'PrefixI 'False) U1 :+: (C1 ('MetaCons"CannotQuoteNothing"
'PrefixI 'False) U1 :+: C1 ('MetaCons"CannotQuotePattern"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NamedArg Pattern))))))
Constructors
CheckedArgcaElim :: ElimChecked and inserted argument.
caRange :: Maybe RangeRange of checked argument, where present. E.g. inserted implicits have no correponding abstract syntax.
caConstraint :: Maybe (Abs Constraint)Head constraint before applying the argument.
Instances1Show
Show CheckedArgDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base
Solving a CheckArgs constraint may or may not check the target type. If it did, it returns a handle to any unsolved constraints.
Constructors
Constructors
Instances12Enum, Eq, Integral, Num, Ord, Real, …
Enum CheckpointIdDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseEq CheckpointIdDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseIntegral CheckpointIdDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNum CheckpointIdDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseOrd CheckpointIdDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseReal CheckpointIdDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseShow CheckpointIdDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData CheckpointIdDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePretty CheckpointIdDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseHasFresh CheckpointIdDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePrettyTCM CheckpointIdDefined in Agda-2.8.0.2 · Agda.TypeChecking.PrettyEmbPrj CheckpointIdDefined in Agda-2.8.0.2 · Agda.TypeChecking.Serialise.Instances.Internal · orphan
Constructors
Instances18Functor, Foldable, Show, Generic, NFData, LensTCEnv, …
Functor ClosureDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseFoldable ClosureDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseShow a => Show (Closure a)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric (Closure a)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData a => NFData (Closure a)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseLensTCEnv (Closure a)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseHasRange a => HasRange (Closure a)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePrettyTCM a => PrettyTCM (Closure a)Defined in Agda-2.8.0.2 · Agda.TypeChecking.PrettyReduce a => Reduce (Closure a)Defined in Agda-2.8.0.2 · Agda.TypeChecking.ReduceSimplify a => Simplify (Closure a)Defined in Agda-2.8.0.2 · Agda.TypeChecking.ReduceInstantiate a => Instantiate (Closure a)Defined in Agda-2.8.0.2 · Agda.TypeChecking.ReduceNormalise a => Normalise (Closure a)Defined in Agda-2.8.0.2 · Agda.TypeChecking.ReduceKillRange a => KillRange (Closure a)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseLensIsAbstract (Closure a)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseInstantiateFull a => InstantiateFull (Closure a)Defined in Agda-2.8.0.2 · Agda.TypeChecking.ReduceMentionsMeta a => MentionsMeta (Closure a)Defined in Agda-2.8.0.2 · Agda.TypeChecking.MetaVars.MentionLensClosure (Closure a) aDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Basetype Rep (Closure a) = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"Closure"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"Closure"
'PrefixI 'True) ((S1 ('MetaSel ('Just"clSignature"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Signature) :*: S1 ('MetaSel ('Just"clEnv"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TCEnv)) :*: (S1 ('MetaSel ('Just"clScope"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ScopeInfo) :*: (S1 ('MetaSel ('Just"clModuleCheckpoints"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map ModuleName CheckpointId)) :*: S1 ('MetaSel ('Just"clValue"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a)))))
Constructors
Instances9Eq, Ord, Show, Generic, NFData, KillRange, …
Eq CompKitDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseOrd CompKitDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseShow CompKitDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric CompKitDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData CompKitDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseKillRange CompKitDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNamesIn CompKitDefined in Agda-2.8.0.2 · Agda.Syntax.Internal.NamesEmbPrj CompKitDefined in Agda-2.8.0.2 · Agda.TypeChecking.Serialise.Instances.Internal · orphantype Rep CompKit = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"CompKit"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"CompKit"
'PrefixI 'True) (S1 ('MetaSel ('Just"nameOfHComp"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe QName)) :*: S1 ('MetaSel ('Just"nameOfTransp"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe QName))))
We can either compare two terms at a given type, or compare two types without knowing (or caring about) their sorts.
Instances19Show, Generic, NFData, Pretty, IsSizeType, Subst, …
Show CompareAsDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric CompareAsDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData CompareAsDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePretty CompareAsDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseIsSizeType CompareAsDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.SizedTypesSubst CompareAsDefined in Agda-2.8.0.2 · Agda.TypeChecking.Substitute · orphanPrettyTCM CompareAsDefined in Agda-2.8.0.2 · Agda.TypeChecking.PrettyReduce CompareAsDefined in Agda-2.8.0.2 · Agda.TypeChecking.ReduceSimplify CompareAsDefined in Agda-2.8.0.2 · Agda.TypeChecking.ReduceInstantiate CompareAsDefined in Agda-2.8.0.2 · Agda.TypeChecking.ReduceNormalise CompareAsDefined in Agda-2.8.0.2 · Agda.TypeChecking.ReduceFree CompareAsDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseAllMetas CompareAsDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseIsMeta CompareAsDefined in Agda-2.8.0.2 · Agda.TypeChecking.ReduceTermLike CompareAsDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseInstantiateFull CompareAsDefined in Agda-2.8.0.2 · Agda.TypeChecking.ReduceMentionsMeta CompareAsDefined in Agda-2.8.0.2 · Agda.TypeChecking.MetaVars.Mentiontype Rep CompareAs = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"CompareAs"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"AsTermsOf"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type)) :+: (C1 ('MetaCons"AsSizes"
'PrefixI 'False) U1 :+: C1 ('MetaCons"AsTypes"
'PrefixI 'False) U1))type SubstArg CompareAs = TermDefined in Agda-2.8.0.2 · Agda.TypeChecking.Substitute · orphan
An extension of Comparison to >=.
Instances3Eq, Show, Pretty
Eq CompareDirectionDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseShow CompareDirectionDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePretty CompareDirectionDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base
The backends are responsible for parsing their own pragmas.
Constructors
Instances8Eq, Show, Generic, NFData, HasRange, KillRange, …
Eq CompilerPragmaDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseShow CompilerPragmaDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric CompilerPragmaDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData CompilerPragmaDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseHasRange CompilerPragmaDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseKillRange CompiledRepresentationDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseEmbPrj CompilerPragmaDefined in Agda-2.8.0.2 · Agda.TypeChecking.Serialise.Instances.Compilers · orphantype Rep CompilerPragma = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"CompilerPragma"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"CompilerPragma"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)))
Constructors
ValueCmp Comparison CompareAs Term TermValueCmpOnFace Comparison Term Type Term TermElimCmp [Polarity] [IsForced] Type Term [Elim] [Elim]SortCmp Comparison Sort SortLevelCmp Comparison Level LevelHasBiggerSort SortHasPTSRule (Dom Type) (Abs Sort)CheckDataSort QName SortCheck that the sort Sort of data type QName admits data/record types. E.g., sorts
IUniv,SizeUnivetc. do not admit such constructions. See checkDataSort.CheckMetaInst MetaIdCheckType TypeUnBlock MetaIdMeta created for a term blocked by a postponed type checking problem or unsolved constraints. The MetaInstantiation for the meta (when unsolved) is either BlockedConst or PostponedTypeCheckingProblem.
IsEmpty Range TypeThe range is the one of the absurd pattern.
CheckSizeLtSat TermCheck that the Term is either not a SIZELT or a non-empty SIZELT.
FindInstance Range MetaId (Maybe [Candidate])the second argument is the instance argument and the third one is dhe list of candidates (or Nothing if we haven’t determined the list of candidates yet)
ResolveInstanceHead QNameResolve the head symbol of the type that the given instance targets
CheckFunDef DefInfo QName [Clause] TCErrLast argument is the error causing us to postpone.
UnquoteTactic Term Term TypeFirst argument is computation and the others are hole and goal type
CheckLockedVars Term Type (Arg Term) TypeCheckLockedVars t ty lk lk_tywitht : ty,lk : lk_tyandt lkwell-typed.UsableAtModality WhyCheckModality (Maybe Sort) Modality TermIs the term usable at the given modality? This check should run if the
SortisNothingorisFibrant.
Instances19Show, Generic, NFData, HasRange, Subst, PrettyTCM, …
Show ConstraintDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric ConstraintDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData ConstraintDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseHasRange ConstraintDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseSubst ConstraintDefined in Agda-2.8.0.2 · Agda.TypeChecking.Substitute · orphanPrettyTCM ConstraintDefined in Agda-2.8.0.2 · Agda.TypeChecking.Pretty.Constraint · orphanReify ConstraintDefined in Agda-2.8.0.2 · Agda.Interaction.BasicOps · orphanReduce ConstraintDefined in Agda-2.8.0.2 · Agda.TypeChecking.ReduceSimplify ConstraintDefined in Agda-2.8.0.2 · Agda.TypeChecking.ReduceInstantiate ConstraintDefined in Agda-2.8.0.2 · Agda.TypeChecking.ReduceNormalise ConstraintDefined in Agda-2.8.0.2 · Agda.TypeChecking.ReduceFree ConstraintDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseAllMetas ConstraintDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseTermLike ConstraintDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseInstantiateFull ConstraintDefined in Agda-2.8.0.2 · Agda.TypeChecking.ReduceMentionsMeta ConstraintDefined in Agda-2.8.0.2 · Agda.TypeChecking.MetaVars.Mentiontype Rep Constraint = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"Constraint"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) ((((C1 ('MetaCons"ValueCmp"
'PrefixI 'False) ((S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Comparison) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CompareAs)) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term))) :+: C1 ('MetaCons"ValueCmpOnFace"
'PrefixI 'False) ((S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Comparison) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term)) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term))))) :+: (C1 ('MetaCons"ElimCmp"
'PrefixI 'False) ((S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Polarity]) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [IsForced]) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type))) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Elim]) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Elim])))) :+: C1 ('MetaCons"SortCmp"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Comparison) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Sort) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Sort))))) :+: ((C1 ('MetaCons"LevelCmp"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Comparison) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Level) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Level))) :+: C1 ('MetaCons"HasBiggerSort"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Sort))) :+: (C1 ('MetaCons"HasPTSRule"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Dom Type)) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Abs Sort))) :+: (C1 ('MetaCons"CheckDataSort"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Sort)) :+: C1 ('MetaCons"CheckMetaInst"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 MetaId)))))) :+: (((C1 ('MetaCons"CheckType"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type)) :+: C1 ('MetaCons"UnBlock"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 MetaId))) :+: (C1 ('MetaCons"IsEmpty"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type)) :+: (C1 ('MetaCons"CheckSizeLtSat"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term)) :+: C1 ('MetaCons"FindInstance"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 MetaId) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [Candidate]))))))) :+: ((C1 ('MetaCons"ResolveInstanceHead"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName)) :+: C1 ('MetaCons"CheckFunDef"
'PrefixI 'False) ((S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DefInfo) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName)) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Clause]) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TCErr)))) :+: (C1 ('MetaCons"UnquoteTactic"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type))) :+: (C1 ('MetaCons"CheckLockedVars"
'PrefixI 'False) ((S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type)) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Arg Term)) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type))) :+: C1 ('MetaCons"UsableAtModality"
'PrefixI 'False) ((S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 WhyCheckModality) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Sort))) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Modality) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term))))))))type SubstArg Constraint = TermDefined in Agda-2.8.0.2 · Agda.TypeChecking.Substitute · orphantype ReifiesTo Constraint = OutputConstraint Expr ExprDefined in Agda-2.8.0.2 · Agda.Interaction.BasicOps · orphan
Constructors
ConstructorData_conPars :: IntNumber of parameters.
_conArity :: IntNumber of arguments (excluding parameters).
_conSrcCon :: ConHeadName of (original) constructor and fields. (This might be in a module instance.)
_conData :: QNameName of datatype or record type.
_conAbstr :: IsAbstract_conComp :: CompKitCubical composition.
_conProj :: Maybe [QName]Projections. Nothing if not yet computed.
_conForced :: [IsForced]Which arguments are forced (i.e. determined by the type of the constructor)? Either this list is empty (if the forcing analysis isn't run), or its length is
conArity._conErased :: Maybe [Bool]_conErasure :: !BoolWas
--erasurein effect when the constructor was defined? (This can affect the constructor's type.)_conInline :: !BoolShall we translate the constructor on the root of the rhs into copattern matching on the lhs? Activated by INLINE pragma.
Instances5Show, Generic, NFData, Pretty, Rep
Show ConstructorDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric ConstructorDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData ConstructorDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePretty ConstructorDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Basetype Rep ConstructorData = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"ConstructorData"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"ConstructorData"
'PrefixI 'True) (((S1 ('MetaSel ('Just"_conPars"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just"_conArity"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)) :*: (S1 ('MetaSel ('Just"_conSrcCon"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ConHead) :*: (S1 ('MetaSel ('Just"_conData"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel ('Just"_conAbstr"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 IsAbstract)))) :*: ((S1 ('MetaSel ('Just"_conComp"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CompKit) :*: (S1 ('MetaSel ('Just"_conProj"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [QName])) :*: S1 ('MetaSel ('Just"_conForced"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [IsForced]))) :*: (S1 ('MetaSel ('Just"_conErased"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [Bool])) :*: (S1 ('MetaSel ('Just"_conErasure"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just"_conInline"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool))))))
Information we have constructored in the middle of disambiguating a constructor.
Constructors
ConstructorDisambiguationDatabcdConName :: QNameOne of the eligible ambiguous names (for error messages).
bcdCandidates :: List1 (QName, Type, ConHead)The possible candidates for disambiguation
bcdArguments :: ArgsThe arguments given to the constructor.
bcdType :: TypeThe type of the constructor application
Instances3Generic, NFData, Rep
Generic ConstructorDisambiguationDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData ConstructorDisambiguationDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Basetype Rep ConstructorDisambiguationData = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"ConstructorDisambiguationData"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"ConstructorDisambiguationData"
'PrefixI 'True) ((S1 ('MetaSel ('Just"bcdConName"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel ('Just"bcdCandidates"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (List1 (QName, Type, ConHead)))) :*: (S1 ('MetaSel ('Just"bcdArguments"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Args) :*: S1 ('MetaSel ('Just"bcdType"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type))))
Like CachedTypeCheckLog, but storing the log for an ongoing type checking of a module. Stored in reverse order (last performed action first).
Constructors
Instances5Show, Generic, NFData, Pretty, Rep
Show DataOrRecSigDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric DataOrRecSigDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData DataOrRecSigDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePretty DataOrRecSigDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Basetype Rep DataOrRecSigData = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"DataOrRecSigData"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"DataOrRecSigData"
'PrefixI 'True) (S1 ('MetaSel ('Just"_datarecPars"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))
Constructors
DatatypeData_dataPars :: NatNumber of parameters.
_dataIxs :: NatNumber of indices.
_dataClause :: Maybe ClauseThis might be in an instantiated module.
_dataCons :: [QName]Constructor names, ordered according to the order of their definition.
_dataSort :: Sort_dataMutual :: Maybe [QName]Mutually recursive functions,
datas andrecords. Does include this data type. Empty if not recursive.Nothingif not yet computed (by positivity checker)._dataAbstr :: IsAbstract_dataPathCons :: [QName]Path constructor names (subset of
dataCons)._dataTranspIx :: Maybe QNameIf indexed datatype, name of the "index transport" function.
_dataTransp :: Maybe QNameTransport function, should be available for all datatypes in supported sorts.
Instances5Show, Generic, NFData, Pretty, Rep
Show DatatypeDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric DatatypeDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData DatatypeDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePretty DatatypeDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Basetype Rep DatatypeData = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"DatatypeData"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"DatatypeData"
'PrefixI 'True) (((S1 ('MetaSel ('Just"_dataPars"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Nat) :*: S1 ('MetaSel ('Just"_dataIxs"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Nat)) :*: (S1 ('MetaSel ('Just"_dataClause"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Clause)) :*: (S1 ('MetaSel ('Just"_dataCons"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [QName]) :*: S1 ('MetaSel ('Just"_dataSort"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Sort)))) :*: ((S1 ('MetaSel ('Just"_dataMutual"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [QName])) :*: S1 ('MetaSel ('Just"_dataAbstr"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 IsAbstract)) :*: (S1 ('MetaSel ('Just"_dataPathCons"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [QName]) :*: (S1 ('MetaSel ('Just"_dataTranspIx"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe QName)) :*: S1 ('MetaSel ('Just"_dataTransp"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe QName)))))))
Constructors
DefndefArgInfo :: ArgInfoHiding should not be used.
defName :: QNameThe canonical name, used e.g. in compilation.
defType :: TypeType of the lifted definition.
defPolarity :: [Polarity]Variance information on arguments of the definition. Does not include info for dropped parameters to projection(-like) functions and constructors.
defArgOccurrences :: [Occurrence]Positivity information on arguments of the definition. Does not include info for dropped parameters to projection(-like) functions and constructors.
defGeneralizedParams :: [Maybe Name]Gives the name of the (bound variable) parameter for named generalized parameters. This is needed to bring it into scope when type checking the data/record definition corresponding to a type with generalized parameters.
defDisplay :: [LocalDisplayForm]defMutual :: MutualIddefCompiledRep :: CompiledRepresentationdefInstance :: Maybe InstanceInfoJust qwhen this definition is an instance.defCopy :: BoolHas this function been created by a module instantiation?
defMatchable :: Set QNameThe set of symbols with rewrite rules that match against this symbol
defNoCompilation :: Boolshould compilers skip this? Used for e.g. cubical's comp
defInjective :: BoolShould the def be treated as injective by the pattern matching unifier?
defCopatternLHS :: BoolIs this a function defined by copatterns?
defBlocked :: Blocked_What blocking tag to use when we cannot reduce this def? Used when checking a function definition is blocked on a meta in the type.
defLanguage :: !LanguageThe language used for the definition.
theDef :: Defn
Instances17Show, Generic, NFData, Pretty, LensQuantity, Apply, …
Show DefinitionDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric DefinitionDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData DefinitionDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePretty DefinitionDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseLensQuantity DefinitionDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseApply DefinitionDefined in Agda-2.8.0.2 · Agda.TypeChecking.Substitute · orphanLensRelevance DefinitionDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseLensModalPolarity DefinitionDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseKillRange DefinitionDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseKillRange DefinitionsDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseLensArgInfo DefinitionDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseLensModality DefinitionDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNamesIn DefinitionDefined in Agda-2.8.0.2 · Agda.Syntax.Internal.NamesInstantiateFull DefinitionDefined in Agda-2.8.0.2 · Agda.TypeChecking.ReduceAbstract DefinitionDefined in Agda-2.8.0.2 · Agda.TypeChecking.Substitute · orphanEmbPrj DefinitionDefined in Agda-2.8.0.2 · Agda.TypeChecking.Serialise.Instances.Internal · orphantype Rep Definition = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"Definition"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"Defn"
'PrefixI 'True) ((((S1 ('MetaSel ('Just"defArgInfo"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ArgInfo) :*: S1 ('MetaSel ('Just"defName"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName)) :*: (S1 ('MetaSel ('Just"defType"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type) :*: S1 ('MetaSel ('Just"defPolarity"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Polarity]))) :*: ((S1 ('MetaSel ('Just"defArgOccurrences"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Occurrence]) :*: S1 ('MetaSel ('Just"defGeneralizedParams"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Maybe Name])) :*: (S1 ('MetaSel ('Just"defDisplay"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [LocalDisplayForm]) :*: (S1 ('MetaSel ('Just"defMutual"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 MutualId) :*: S1 ('MetaSel ('Just"defCompiledRep"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CompiledRepresentation))))) :*: (((S1 ('MetaSel ('Just"defInstance"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe InstanceInfo)) :*: S1 ('MetaSel ('Just"defCopy"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just"defMatchable"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set QName)) :*: S1 ('MetaSel ('Just"defNoCompilation"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))) :*: ((S1 ('MetaSel ('Just"defInjective"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just"defCopatternLHS"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just"defBlocked"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Blocked_) :*: (S1 ('MetaSel ('Just"defLanguage"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Language) :*: S1 ('MetaSel ('Just"theDef"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Defn)))))))
Constructors
AxiomDefn AxiomDataPostulate.
DataOrRecSigDefn DataOrRecSigDataData or record type signature that doesn't yet have a definition.
GeneralizableVar NumGeneralizableArgsGeneralizable variable (introduced in
variableblock).AbstractDefn DefnReturned by
getConstInfoif definition is abstract.FunctionDefn FunctionDataDatatypeDefn DatatypeDataRecordDefn RecordDataConstructorDefn ConstructorDataPrimitiveDefn PrimitiveDataPrimitive or builtin functions.
PrimitiveSortDefn PrimitiveSortData
Instances12Show, Generic, NFData, Pretty, Apply, KillRange, …
Show DefnDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric DefnDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData DefnDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePretty DefnDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseApply DefnDefined in Agda-2.8.0.2 · Agda.TypeChecking.Substitute · orphanKillRange DefnDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNamesIn DefnDefined in Agda-2.8.0.2 · Agda.Syntax.Internal.NamesInstantiateFull DefnDefined in Agda-2.8.0.2 · Agda.TypeChecking.ReduceAbstract DefnDefined in Agda-2.8.0.2 · Agda.TypeChecking.Substitute · orphanOccurs DefnDefined in Agda-2.8.0.2 · Agda.TypeChecking.MetaVars.OccursEmbPrj DefnDefined in Agda-2.8.0.2 · Agda.TypeChecking.Serialise.Instances.Internal · orphantype Rep Defn = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"Defn"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (((C1 ('MetaCons"AxiomDefn"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AxiomData)) :+: C1 ('MetaCons"DataOrRecSigDefn"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DataOrRecSigData))) :+: (C1 ('MetaCons"GeneralizableVar"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NumGeneralizableArgs)) :+: (C1 ('MetaCons"AbstractDefn"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Defn)) :+: C1 ('MetaCons"FunctionDefn"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FunctionData))))) :+: ((C1 ('MetaCons"DatatypeDefn"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DatatypeData)) :+: C1 ('MetaCons"RecordDefn"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 RecordData))) :+: (C1 ('MetaCons"ConstructorDefn"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ConstructorData)) :+: (C1 ('MetaCons"PrimitiveDefn"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PrimitiveData)) :+: C1 ('MetaCons"PrimitiveSortDefn"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PrimitiveSortData))))))
Name disambiguation for the sake of highlighting.
Constructors
Instances4Generic, NFData, Hilite, Rep
Generic DisambiguatedNameDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData DisambiguatedNameDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseHilite DisambiguatedNameDefined in Agda-2.8.0.2 · Agda.Interaction.Highlighting.FromAbstracttype Rep DisambiguatedName = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"DisambiguatedName"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"DisambiguatedName"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NameKind) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName)))
A DisplayForm is in essence a rewrite rule q ts --> dt for a defined symbol (could be a
constructor as well) q. The right hand side is a DisplayTerm which is used to reify to a
more readable Abstract.Syntax.
The patterns ts are just terms, but the first dfPatternVars variables are pattern variables
that matches any term.
Constructors
DisplaydfPatternVars :: NatNumber
nof pattern variables in dfPats.dfPats :: ElimsLeft hand side patterns, the
nfirst free variables are pattern variables, any variables abovenare fixed and only match that particular variable. This happens when you have display forms inside parameterised modules that match on the module parameters. The ArgInfo is ignored in these patterns.dfRHS :: DisplayTermRight hand side.
Instances15Show, Generic, NFData, Pretty, ChaseDisplayForms, Subst, …
Show DisplayFormDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric DisplayFormDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData DisplayFormDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePretty DisplayFormDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseChaseDisplayForms DisplayFormDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.SignatureSubst DisplayFormDefined in Agda-2.8.0.2 · Agda.TypeChecking.Substitute · orphanSimplify DisplayFormDefined in Agda-2.8.0.2 · Agda.TypeChecking.ReduceNormalise DisplayFormDefined in Agda-2.8.0.2 · Agda.TypeChecking.ReduceFree DisplayFormDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseKillRange DisplayFormDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNamesIn DisplayFormDefined in Agda-2.8.0.2 · Agda.Syntax.Internal.NamesInstantiateFull DisplayFormDefined in Agda-2.8.0.2 · Agda.TypeChecking.ReduceEmbPrj DisplayFormDefined in Agda-2.8.0.2 · Agda.TypeChecking.Serialise.Instances.Internal · orphantype Rep DisplayForm = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"DisplayForm"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"Display"
'PrefixI 'True) (S1 ('MetaSel ('Just"dfPatternVars"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Nat) :*: (S1 ('MetaSel ('Just"dfPats"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Elims) :*: S1 ('MetaSel ('Just"dfRHS"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DisplayTerm))))type SubstArg DisplayForm = TermDefined in Agda-2.8.0.2 · Agda.TypeChecking.Substitute · orphan
A structured presentation of a Term for reification into
Abstract.Syntax.
Constructors
DWithApp DisplayTerm (List1 DisplayTerm) Elims(f vs | ws) es. The first DisplayTerm is the parent functionfwith its argsvs. The list of DisplayTerms are the with expressionsws. The Elims are additional argumentses(possible in case the with-application is of function type) or projections (if it is of record type).DCon ConHead ConInfo [Arg DisplayTerm]c vs.DDef QName [Elim' DisplayTerm]d vs.DDot' Term Elims.(v es). See DTerm'.DTerm' Term Elimsv es. This is a frozen elimination that is not always safe to run, because display forms may be ill-typed. (See issue #6476.)
Instances20Show, Generic, NFData, Pretty, ChaseDisplayForms, Subst, …
Show DisplayTermDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric DisplayTermDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData DisplayTermDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePretty DisplayTermDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseChaseDisplayForms DisplayTermDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.SignatureSubst DisplayTermDefined in Agda-2.8.0.2 · Agda.TypeChecking.Substitute · orphanPrettyTCM DisplayTermDefined in Agda-2.8.0.2 · Agda.TypeChecking.PrettyReify DisplayTermDefined in Agda-2.8.0.2 · Agda.Syntax.Translation.InternalToAbstractFree DisplayTermDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseApply DisplayTermDefined in Agda-2.8.0.2 · Agda.TypeChecking.Substitute · orphanKillRange DisplayTermDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNamesIn DisplayTermDefined in Agda-2.8.0.2 · Agda.Syntax.Internal.NamesInstantiateFull DisplayTermDefined in Agda-2.8.0.2 · Agda.TypeChecking.ReduceSubstWithOrigin DisplayTermDefined in Agda-2.8.0.2 · Agda.TypeChecking.DisplayFormEmbPrj DisplayTermDefined in Agda-2.8.0.2 · Agda.TypeChecking.Serialise.Instances.Internal · orphanPrettyTCM (Elim' DisplayTerm)Defined in Agda-2.8.0.2 · Agda.TypeChecking.PrettySubstWithOrigin (Arg DisplayTerm)Defined in Agda-2.8.0.2 · Agda.TypeChecking.DisplayFormtype Rep DisplayTerm = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"DisplayTerm"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) ((C1 ('MetaCons"DWithApp"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DisplayTerm) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (List1 DisplayTerm)) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Elims))) :+: C1 ('MetaCons"DCon"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ConHead) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ConInfo) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Arg DisplayTerm])))) :+: (C1 ('MetaCons"DDef"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Elim' DisplayTerm])) :+: (C1 ('MetaCons"DDot'"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Elims)) :+: C1 ('MetaCons"DTerm'"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Elims)))))type SubstArg DisplayTerm = TermDefined in Agda-2.8.0.2 · Agda.TypeChecking.Substitute · orphantype ReifiesTo DisplayTerm = ExprDefined in Agda-2.8.0.2 · Agda.Syntax.Translation.InternalToAbstract
Constructors
YesGeneralizeVarGeneralize because it is a generalizable variable.
YesGeneralizeMetaGeneralize because it is a metavariable and we're currently checking the type of a generalizable variable (this should get the default modality).
NoGeneralizeDon't generalize.
Instances8Eq, Ord, Show, Generic, NFData, KillRange, …
Eq DoGeneralizeDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseOrd DoGeneralizeDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseShow DoGeneralizeDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric DoGeneralizeDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData DoGeneralizeDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseKillRange DoGeneralizeDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseEmbPrj DoGeneralizeDefined in Agda-2.8.0.2 · Agda.TypeChecking.Serialise.Instances.Internal · orphantype Rep DoGeneralize = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"DoGeneralize"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"YesGeneralizeVar"
'PrefixI 'False) U1 :+: (C1 ('MetaCons"YesGeneralizeMeta"
'PrefixI 'False) U1 :+: C1 ('MetaCons"NoGeneralize"
'PrefixI 'False) U1))
Should a record type admit eta-equality?
Constructors
SpecifiedUser specifed 'eta-equality' or 'no-eta-equality'.
theEtaEquality :: !HasEta
InferredPositivity checker inferred whether eta is safe.
theEtaEquality :: !HasEta
Instances9Eq, Show, Generic, NFData, KillRange, CopatternMatchingAllowed, …
Eq EtaEqualityDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseShow EtaEqualityDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric EtaEqualityDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData EtaEqualityDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseKillRange EtaEqualityDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseCopatternMatchingAllowed EtaEqualityDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePatternMatchingAllowed EtaEqualityDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseEmbPrj EtaEqualityDefined in Agda-2.8.0.2 · Agda.TypeChecking.Serialise.Instances.Internal · orphantype Rep EtaEquality = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"EtaEquality"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"Specified"
'PrefixI 'True) (S1 ('MetaSel ('Just"theEtaEquality"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HasEta)) :+: C1 ('MetaCons"Inferred"
'PrefixI 'True) (S1 ('MetaSel ('Just"theEtaEquality"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HasEta)))
Error when trying to call an external executable during reflection.
Constructors
ExeNotTrusted ExeName ExeMapThe given executable is not listed as trusted.
ExeNotFound ExeName FilePathThe given executable could not be found under the given path.
ExeNotExecutable ExeName FilePathThe given file path does not have executable permissions.
Instances5Show, Generic, NFData, PrettyTCM, Rep
Show ExecErrorDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric ExecErrorDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData ExecErrorDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePrettyTCM ExecErrorDefined in Agda-2.8.0.2 · Agda.TypeChecking.Errors · orphantype Rep ExecError = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"ExecError"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"ExeNotTrusted"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ExeName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ExeMap)) :+: (C1 ('MetaCons"ExeNotFound"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ExeName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FilePath)) :+: C1 ('MetaCons"ExeNotExecutable"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ExeName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FilePath))))
Constructors
ExpandLastAdd implicit arguments in the end until type is no longer hidden Pi.
DontExpandLastDo not append implicit arguments.
ReallyDontExpandLastMakes
doExpandLasthave no effect. Used to avoid implicit insertion of arguments to metavariables.
Instances4Eq, Generic, NFData, Rep
Eq ExpandHiddenDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric ExpandHiddenDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData ExpandHiddenDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Basetype Rep ExpandHidden = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"ExpandHidden"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"ExpandLast"
'PrefixI 'False) U1 :+: (C1 ('MetaCons"DontExpandLast"
'PrefixI 'False) U1 :+: C1 ('MetaCons"ReallyDontExpandLast"
'PrefixI 'False) U1))
Additional information for extended lambdas.
Constructors
ExtLamInfoextLamModule :: ModuleNameFor complicated reasons the scope checker decides the QName of a pattern lambda, and thus its module. We really need to decide the module during type checking though, since if the lambda appears in a refined context the module picked by the scope checker has very much the wrong parameters.
extLamAbsurd :: BoolWas this definition created from an absurd lambda
λ ()?extLamSys :: !Maybe System
Instances9Show, Generic, NFData, Apply, KillRange, NamesIn, …
Show ExtLamInfoDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric ExtLamInfoDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData ExtLamInfoDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseApply ExtLamInfoDefined in Agda-2.8.0.2 · Agda.TypeChecking.Substitute · orphanKillRange ExtLamInfoDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNamesIn ExtLamInfoDefined in Agda-2.8.0.2 · Agda.Syntax.Internal.NamesInstantiateFull ExtLamInfoDefined in Agda-2.8.0.2 · Agda.TypeChecking.ReduceEmbPrj ExtLamInfoDefined in Agda-2.8.0.2 · Agda.TypeChecking.Serialise.Instances.Internal · orphantype Rep ExtLamInfo = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"ExtLamInfo"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"ExtLamInfo"
'PrefixI 'True) (S1 ('MetaSel ('Just"extLamModule"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ModuleName) :*: (S1 ('MetaSel ('Just"extLamAbsurd"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just"extLamSys"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe System)))))
Constructors
Instances5Show, Generic, NFData, EmbPrj, Rep
Show ForeignCodeDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric ForeignCodeDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData ForeignCodeDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseEmbPrj ForeignCodeDefined in Agda-2.8.0.2 · Agda.TypeChecking.Serialise.Instances.Compilers · orphantype Rep ForeignCode = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"ForeignCode"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"ForeignCode"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)))
Foreign code fragments are stored in reversed order to support efficient appending: head points to the latest pragma in module.
Constructors
Instances5Show, Generic, NFData, EmbPrj, Rep
Show ForeignCodeStackDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric ForeignCodeStackDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData ForeignCodeStackDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseEmbPrj ForeignCodeStackDefined in Agda-2.8.0.2 · Agda.TypeChecking.Serialise.Instances.Compilers · orphantype Rep ForeignCodeStack = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"ForeignCodeStack"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'True) (C1 ('MetaCons"ForeignCodeStack"
'PrefixI 'True) (S1 ('MetaSel ('Just"getForeignCodeStack"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ForeignCode])))
Create a fresh name from a.
Methods
freshName_ :: MonadFresh NameId m => a -> m Name
Instances5FreshName
FreshName NameDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseFreshName RangeDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseFreshName StringDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseFreshName ()Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseFreshName (Range, String)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base
Frozen meta variable cannot be instantiated by unification. This serves to prevent the completion of a definition by its use outside of the current block. (See issues 118, 288, 399).
Constructors
FrozenDo not instantiate.
Instantiable
Instances5Eq, Show, Generic, NFData, Rep
Eq FrozenDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseShow FrozenDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric FrozenDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData FrozenDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Basetype Rep Frozen = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"Frozen"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"Frozen"
'PrefixI 'False) U1 :+: C1 ('MetaCons"Instantiable"
'PrefixI 'False) U1)
Constructors
FunctionData_funClauses :: [Clause]_funCompiled :: Maybe CompiledClausesNothing while function is still type-checked.
Just ccafter type and coverage checking and translation to case trees._funSplitTree :: Maybe SplitTreeThe split tree constructed by the coverage checker. Needed to re-compile the clauses after forcing translation.
_funTreeless :: Maybe CompiledIntermediate representation for compiler backends.
_funCovering :: [Clause]Covering clauses computed by coverage checking. Erased by (IApply) confluence checking(?)
_funInv :: FunctionInverse_funMutual :: Maybe [QName]Mutually recursive functions,
datas andrecords. Does include this function. Empty list if not recursive.Nothingif not yet computed (by positivity checker)._funProjection :: Either ProjectionLikenessMissing ProjectionIs it a record projection? If yes, then return the name of the record type and index of the record argument. Start counting with 1, because 0 means that it is already applied to the record. (Can happen in module instantiation.) This information is used in the termination checker.
_funFlags :: SmallSet FunctionFlagVarious boolean flags pertaining to the function definition, see FunctionFlag.
_funTerminates :: Maybe BoolHas this function been termination checked? Did it pass?
_funExtLam :: Maybe ExtLamInfoIs this function generated from an extended lambda? If yes, then return the number of hidden and non-hidden lambda-lifted arguments.
_funWith :: Maybe QNameIs this a generated with-function? If yes, then what's the name of the parent function?
_funIsKanOp :: Maybe QNameIs this a helper for one of the Kan operations (transp, hcomp) on data types/records? If so, for which data type?
_funOpaque :: IsOpaqueIs this function opaque? If so, and we're not in an opaque block that includes this function('s name), it will be treated abstractly.
Instances5Show, Generic, NFData, Pretty, Rep
Show FunctionDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric FunctionDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData FunctionDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePretty FunctionDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Basetype Rep FunctionData = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"FunctionData"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"FunctionData"
'PrefixI 'True) (((S1 ('MetaSel ('Just"_funClauses"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Clause]) :*: (S1 ('MetaSel ('Just"_funCompiled"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe CompiledClauses)) :*: S1 ('MetaSel ('Just"_funSplitTree"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe SplitTree)))) :*: ((S1 ('MetaSel ('Just"_funTreeless"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Compiled)) :*: S1 ('MetaSel ('Just"_funCovering"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Clause])) :*: (S1 ('MetaSel ('Just"_funInv"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FunctionInverse) :*: S1 ('MetaSel ('Just"_funMutual"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [QName]))))) :*: ((S1 ('MetaSel ('Just"_funProjection"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Either ProjectionLikenessMissing Projection)) :*: (S1 ('MetaSel ('Just"_funFlags"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (SmallSet FunctionFlag)) :*: S1 ('MetaSel ('Just"_funTerminates"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just"_funExtLam"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ExtLamInfo)) :*: S1 ('MetaSel ('Just"_funWith"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe QName))) :*: (S1 ('MetaSel ('Just"_funIsKanOp"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe QName)) :*: S1 ('MetaSel ('Just"_funOpaque"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 IsOpaque))))))
Constructors
FunStaticShould calls to this function be normalised at compile-time?
FunInlineShould calls to this function be inlined by the compiler?
FunMacroIs this function a macro?
FunFirstOrderIs this function
INJECTIVE_FOR_INFERENCE? Indicates whether the first-order shortcut should be applied to the definition.FunErasureWas
--erasurein effect when the function was defined? (This can affect the type of a projection.)FunAbstractIs the function abstract?
FunProjIs this function a descendant of a field (typically, a projection)?
Instances13Bounded, Enum, Eq, Ord, Show, Ix, …
Bounded FunctionFlagDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseEnum FunctionFlagDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseEq FunctionFlagDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseOrd FunctionFlagDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseShow FunctionFlagDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseIx FunctionFlagDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric FunctionFlagDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData FunctionFlagDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseKillRange FunctionFlagDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseSmallSetElement FunctionFlagDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseEmbPrj FunctionFlagDefined in Agda-2.8.0.2 · Agda.TypeChecking.Serialise.Instances.Internal · orphanKillRange (SmallSet FunctionFlag)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Basetype Rep FunctionFlag = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"FunctionFlag"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) ((C1 ('MetaCons"FunStatic"
'PrefixI 'False) U1 :+: (C1 ('MetaCons"FunInline"
'PrefixI 'False) U1 :+: C1 ('MetaCons"FunMacro"
'PrefixI 'False) U1)) :+: ((C1 ('MetaCons"FunFirstOrder"
'PrefixI 'False) U1 :+: C1 ('MetaCons"FunErasure"
'PrefixI 'False) U1) :+: (C1 ('MetaCons"FunAbstract"
'PrefixI 'False) U1 :+: C1 ('MetaCons"FunProj"
'PrefixI 'False) U1)))
Constructors
Instances13Functor, Apply, InstantiateFull, Abstract, DropArgs, Show, …
Functor FunctionInverse'Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseApply FunctionInverseDefined in Agda-2.8.0.2 · Agda.TypeChecking.Substitute · orphanInstantiateFull FunctionInverseDefined in Agda-2.8.0.2 · Agda.TypeChecking.ReduceAbstract FunctionInverseDefined in Agda-2.8.0.2 · Agda.TypeChecking.Substitute · orphanDropArgs FunctionInverseDefined in Agda-2.8.0.2 · Agda.TypeChecking.DropArgsShow c => Show (FunctionInverse' c)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric (FunctionInverse' c)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData c => NFData (FunctionInverse' c)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePretty c => Pretty (FunctionInverse' c)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseKillRange c => KillRange (FunctionInverse' c)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNamesIn a => NamesIn (FunctionInverse' a)Defined in Agda-2.8.0.2 · Agda.Syntax.Internal.NamesEmbPrj a => EmbPrj (FunctionInverse' a)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Serialise.Instances.Internal · orphantype Rep (FunctionInverse' c) = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"FunctionInverse'"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"NotInjective"
'PrefixI 'False) U1 :+: C1 ('MetaCons"Inverse"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (InversionMap c))))
Errors raised by the GHC backend.
Constructors
ConstructorCountMismatch QName [QName] [String]The number of Haskell constructors (String list) does not match the number of constructors of the given data type.
NotAHaskellType Term WhyNotAHaskellTypeGHC backend fails to represent given Agda type in Haskell.
WrongTypeOfMain QName Type
Instances5Show, Generic, NFData, PrettyTCM, Rep
Show GHCBackendErrorDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric GHCBackendErrorDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData GHCBackendErrorDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePrettyTCM GHCBackendErrorDefined in Agda-2.8.0.2 · Agda.TypeChecking.Errors · orphantype Rep GHCBackendError = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"GHCBackendError"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"ConstructorCountMismatch"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [QName]) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [String]))) :+: (C1 ('MetaCons"NotAHaskellType"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 WhyNotAHaskellType)) :+: C1 ('MetaCons"WrongTypeOfMain"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type))))
The value of a generalizable variable. This is created to be a generalizable meta before checking the type to be generalized.
Constructors
Instances4Show, Generic, NFData, Rep
Show GeneralizedValueDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric GeneralizedValueDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData GeneralizedValueDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Basetype Rep GeneralizedValue = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"GeneralizedValue"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"GeneralizedValue"
'PrefixI 'True) (S1 ('MetaSel ('Just"genvalCheckpoint"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CheckpointId) :*: (S1 ('MetaSel ('Just"genvalTerm"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: S1 ('MetaSel ('Just"genvalType"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type))))
Methods
freshLens :: Lens' TCState inextFresh' :: i -> i
Instances8HasFresh, …
HasFresh InteractionIdDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseHasFresh MetaIdDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseHasFresh NameIdDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseHasFresh OpaqueIdDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseHasFresh ProblemIdDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseHasFresh CheckpointIdDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseHasFresh MutualIdDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseHasFresh IntDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base
Constructors
IPBoundarygetBoundary :: Map (IntMap Bool) t
Instances16Functor, Foldable, Traversable, Show, Generic, NFData, …
Functor IPBoundary'Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseFoldable IPBoundary'Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseTraversable IPBoundary'Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseShow t => Show (IPBoundary' t)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric (IPBoundary' t)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData t => NFData (IPBoundary' t)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseReify a => Reify (IPBoundary' a)Defined in Agda-2.8.0.2 · Agda.Interaction.BasicOps · orphanToConcrete a => ToConcrete (IPBoundary' a)Defined in Agda-2.8.0.2 · Agda.Interaction.BasicOps · orphanReduce t => Reduce (IPBoundary' t)Defined in Agda-2.8.0.2 · Agda.TypeChecking.ReduceSimplify t => Simplify (IPBoundary' t)Defined in Agda-2.8.0.2 · Agda.TypeChecking.ReduceInstantiate t => Instantiate (IPBoundary' t)Defined in Agda-2.8.0.2 · Agda.TypeChecking.ReduceNormalise t => Normalise (IPBoundary' t)Defined in Agda-2.8.0.2 · Agda.TypeChecking.ReduceInstantiateFull t => InstantiateFull (IPBoundary' t)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Reducetype Rep (IPBoundary' t) = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"IPBoundary'"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'True) (C1 ('MetaCons"IPBoundary"
'PrefixI 'True) (S1 ('MetaSel ('Just"getBoundary"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map (IntMap Bool) t))))type ConOfAbs (IPBoundary' a) = IPBoundary' (ConOfAbs a)Defined in Agda-2.8.0.2 · Agda.Interaction.BasicOps · orphantype ReifiesTo (IPBoundary' a) = IPBoundary' (ReifiesTo a)Defined in Agda-2.8.0.2 · Agda.Interaction.BasicOps · orphan
Which clause is an interaction point located in?
Constructors
IPClauseipcQName :: QNameThe name of the function.
ipcClauseNo :: IntThe number of the clause of this function.
ipcType :: TypeThe type of the function
ipcWithSub :: Maybe SubstitutionModule parameter substitution
ipcClause :: SpineClauseThe original AST clause.
ipcClosure :: Closure ()Environment for rechecking the clause.
IPNoClauseThe interaction point is not in the rhs of a clause.
Instances4Eq, Generic, NFData, Rep
Eq IPClauseDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric IPClauseDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData IPClauseDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Basetype Rep IPClause = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"IPClause"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"IPClause"
'PrefixI 'True) ((S1 ('MetaSel ('Just"ipcQName"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: (S1 ('MetaSel ('Just"ipcClauseNo"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just"ipcType"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type))) :*: (S1 ('MetaSel ('Just"ipcWithSub"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Substitution)) :*: (S1 ('MetaSel ('Just"ipcClause"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SpineClause) :*: S1 ('MetaSel ('Just"ipcClosure"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Closure ()))))) :+: C1 ('MetaCons"IPNoClause"
'PrefixI 'False) U1)
Constructors
LHSNotDefinitionOrConstructorVariablesNotBoundByLHS IntSetVariablesBoundMoreThanOnce IntSetLHSReduces Term TermHeadSymbolIsProjectionLikeFunction QNameHeadSymbolIsTypeConstructor QNameHeadSymbolContainsMetas QNameConstructorParametersNotGeneral ConHead ArgsContainsUnsolvedMetaVariables (Set1 MetaId)BlockedOnProblems (Set1 ProblemId)RequiresDefinitions (Set1 QName)DoesNotTargetRewriteRelationBeforeFunctionDefinitionBeforeMutualFunctionDefinition QNameDuplicateRewriteRule
Instances5Show, Generic, NFData, EmbPrj, Rep
Show IllegalRewriteRuleReasonDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric IllegalRewriteRuleReasonDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData IllegalRewriteRuleReasonDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseEmbPrj IllegalRewriteRuleReasonDefined in Agda-2.8.0.2 · Agda.TypeChecking.Serialise.Instances.Errors · orphantype Rep IllegalRewriteRuleReason = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"IllegalRewriteRuleReason"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (((C1 ('MetaCons"LHSNotDefinitionOrConstructor"
'PrefixI 'False) U1 :+: (C1 ('MetaCons"VariablesNotBoundByLHS"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 IntSet)) :+: C1 ('MetaCons"VariablesBoundMoreThanOnce"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 IntSet)))) :+: ((C1 ('MetaCons"LHSReduces"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term)) :+: C1 ('MetaCons"HeadSymbolIsProjectionLikeFunction"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName))) :+: (C1 ('MetaCons"HeadSymbolIsTypeConstructor"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName)) :+: C1 ('MetaCons"HeadSymbolContainsMetas"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName))))) :+: (((C1 ('MetaCons"ConstructorParametersNotGeneral"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ConHead) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Args)) :+: C1 ('MetaCons"ContainsUnsolvedMetaVariables"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set1 MetaId)))) :+: (C1 ('MetaCons"BlockedOnProblems"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set1 ProblemId))) :+: C1 ('MetaCons"RequiresDefinitions"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set1 QName))))) :+: ((C1 ('MetaCons"DoesNotTargetRewriteRelation"
'PrefixI 'False) U1 :+: C1 ('MetaCons"BeforeFunctionDefinition"
'PrefixI 'False) U1) :+: (C1 ('MetaCons"BeforeMutualFunctionDefinition"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName)) :+: C1 ('MetaCons"DuplicateRewriteRule"
'PrefixI 'False) U1))))
Instances4Show, Generic, NFData, Rep
Show IncorrectTypeForRewriteRelationReasonDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric IncorrectTypeForRewriteRelationReasonDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData IncorrectTypeForRewriteRelationReasonDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Basetype Rep IncorrectTypeForRewriteRelationReason = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"IncorrectTypeForRewriteRelationReason"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"ShouldAcceptAtLeastTwoArguments"
'PrefixI 'False) U1 :+: (C1 ('MetaCons"FinalTwoArgumentsNotVisible"
'PrefixI 'False) U1 :+: C1 ('MetaCons"TypeDoesNotEndInSort"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Telescope))))
Constructors
Instances4Show, Generic, NFData, Rep
Show InductionAndEtaDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric InductionAndEtaDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData InductionAndEtaDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Basetype Rep InductionAndEta = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"InductionAndEta"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"InductionAndEta"
'PrefixI 'True) (S1 ('MetaSel ('Just"recordInduction"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Induction)) :*: S1 ('MetaSel ('Just"recordEtaEquality"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EtaEquality)))
Information about an instance definition.
Constructors
InstanceInfoinstanceClass :: QNameName of the "class" this is an instance for
instanceOverlap :: OverlapModeDoes this instance have a specified overlap mode?
Instances6Show, Generic, NFData, KillRange, EmbPrj, Rep
Show InstanceInfoDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric InstanceInfoDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData InstanceInfoDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseKillRange InstanceInfoDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseEmbPrj InstanceInfoDefined in Agda-2.8.0.2 · Agda.TypeChecking.Serialise.Instances.Internal · orphantype Rep InstanceInfo = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"InstanceInfo"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"InstanceInfo"
'PrefixI 'True) (S1 ('MetaSel ('Just"instanceClass"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel ('Just"instanceOverlap"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OverlapMode)))
Records information about the instances in the signature. Does not deal with local instances.
Constructors
InstanceTable_itableTree :: DiscrimTree QNameThe actual discrimination tree for looking up instances with
_itableCounts :: Map QName IntFor profiling, we store the number of instances on a per-class basis. This lets us compare the result from the discrimination tree with all the instances in scope, thus informing us how many validity checks were skipped.
Instances9Show, Generic, Semigroup, Monoid, NFData, Null, …
Show InstanceTableDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric InstanceTableDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseSemigroup InstanceTableDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonoid InstanceTableDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData InstanceTableDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNull InstanceTableDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseKillRange InstanceTableDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseEmbPrj InstanceTableDefined in Agda-2.8.0.2 · Agda.TypeChecking.Serialise.Instances.Internal · orphantype Rep InstanceTable = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"InstanceTable"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"InstanceTable"
'PrefixI 'True) (S1 ('MetaSel ('Just"_itableTree"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (DiscrimTree QName)) :*: S1 ('MetaSel ('Just"_itableCounts"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map QName Int))))
Meta-variable instantiations.
Instances6Show, Generic, NFData, InstantiateFull, EmbPrj, Rep
Show InstantiationDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric InstantiationDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData InstantiationDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseInstantiateFull InstantiationDefined in Agda-2.8.0.2 · Agda.TypeChecking.ReduceEmbPrj InstantiationDefined in Agda-2.8.0.2 · Agda.TypeChecking.Serialise.Instances.Internal · orphantype Rep Instantiation = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"Instantiation"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"Instantiation"
'PrefixI 'True) (S1 ('MetaSel ('Just"instTel"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Arg String]) :*: S1 ('MetaSel ('Just"instBody"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term)))
Errors raised in --interaction mode.
Constructors
CannotGive ExprFailure of the
giveinteractive tactic.CannotRefine StringFailure of the
refineinteractive tactic.CaseSplitError DocFailure of the
makeCaseinteractive tactic.ExpectedIdentifier ExprExpected the given expression to be an identifier.
ExpectedApplicationExpected an argument of the form
f e1 e2 .. en.NoActionForInteractionPoint InteractionIdInteraction point has not been reached during type checking.
NoSuchInteractionPoint InteractionIdInteractionId does not resolve to an InteractionPoint.
UnexpectedWherewherenot allowed in hole.
Instances5Show, Generic, NFData, PrettyTCM, Rep
Show InteractionErrorDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric InteractionErrorDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData InteractionErrorDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePrettyTCM InteractionErrorDefined in Agda-2.8.0.2 · Agda.TypeChecking.Errors · orphantype Rep InteractionError = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"InteractionError"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (((C1 ('MetaCons"CannotGive"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr)) :+: C1 ('MetaCons"CannotRefine"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String))) :+: (C1 ('MetaCons"CaseSplitError"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Doc)) :+: C1 ('MetaCons"ExpectedIdentifier"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr)))) :+: ((C1 ('MetaCons"ExpectedApplication"
'PrefixI 'False) U1 :+: C1 ('MetaCons"NoActionForInteractionPoint"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 InteractionId))) :+: (C1 ('MetaCons"NoSuchInteractionPoint"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 InteractionId)) :+: C1 ('MetaCons"UnexpectedWhere"
'PrefixI 'False) U1)))
type InteractionOutputCallback = Response_boot TCErr TCWarning WarningsAndNonFatalErrors -> TCM ()Callback fuction to call when there is a response to give to the interactive frontend.
Note that the response is given in pieces and incrementally, so the user can have timely response even during long computations.
Typical InteractionOutputCallback functions:
Convert the response into a String representation and print it on standard output (suitable for inter-process communication).
Put the response into a mutable variable stored in the closure of the InteractionOutputCallback function. (suitable for intra-process communication).
Interaction points are created by the scope checker who sets the range. The meta variable is created by the type checker and then hooked up to the interaction point.
Constructors
InteractionPointipRange :: RangeThe position of the interaction point.
ipMeta :: Maybe MetaIdThe meta variable, if any, holding the type etc.
ipSolved :: BoolHas this interaction point already been solved?
ipClause :: IPClauseThe clause of the interaction point (if any). Used for case splitting.
ipBoundary :: IPBoundary
Instances7Eq, Generic, NFData, HasTag, Rep, Tag, …
Eq InteractionPointDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric InteractionPointDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData InteractionPointDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData InteractionPointsDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseHasTag InteractionPointDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Basetype Rep InteractionPoint = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"InteractionPoint"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"InteractionPoint"
'PrefixI 'True) ((S1 ('MetaSel ('Just"ipRange"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range) :*: S1 ('MetaSel ('Just"ipMeta"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe MetaId))) :*: (S1 ('MetaSel ('Just"ipSolved"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just"ipClause"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 IPClause) :*: S1 ('MetaSel ('Just"ipBoundary"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 IPBoundary)))))type Tag InteractionPoint = MetaIdDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base
Data structure managing the interaction points.
We never remove interaction points from this map, only set their
ipSolved to True. (Issue #2368)
Constructors
InterfaceiSourceHash :: !HashHash of the source code.
iSource :: TextThe source code. The source code is stored so that the HTML and LaTeX backends can generate their output without having to re-read the (possibly out of date) source code.
iFileType :: FileTypeSource file type, determined from the file extension
iImportedModules :: [(TopLevelModuleName, Hash)]Imported modules and their hashes.
iModuleName :: ModuleNameModule name of this interface.
iTopLevelModuleName :: TopLevelModuleNameThe module's top-level module name.
iScope :: Map ModuleName ScopeScope defined by this module.
Andreas, AIM XX: Too avoid duplicate serialization, this field is not serialized, so if you deserialize an interface,
iScopewill be empty. ButconstructIScopeconstructs iScope from iInsideScope.iInsideScope :: ScopeInfoScope after we loaded this interface. Used in
Agda.Interaction.BasicOps.AtTopLevelandAgda.Interaction.CommandLine.interactionLoop.iSignature :: SignatureiMetaBindings :: RemoteMetaStoreInstantiations for meta-variables that come from this module.
iDisplayForms :: DisplayFormsDisplay forms added for imported identifiers.
iUserWarnings :: UserWarningsUser warnings for imported identifiers
iImportWarning :: Maybe TextWhether this module should raise a warning when imported
iBuiltin :: BuiltinThings' (PrimitiveId, QName)iForeignCode :: Map BackendName ForeignCodeStackiHighlighting :: HighlightingInfoiDefaultPragmaOptions :: [OptionsPragma]Pragma options set in library files.
iFilePragmaOptions :: [OptionsPragma]Pragma options set in the file.
iOptionsUsed :: PragmaOptionsOptions/features used when checking the file (can be different from options set directly in the file).
iPatternSyns :: PatternSynDefnsiWarnings :: Set TCWarningiPartialDefs :: Set QNameiOpaqueBlocks :: Map OpaqueId OpaqueBlockiOpaqueNames :: Map QName OpaqueId
Instances7Show, Generic, NFData, Pretty, InstantiateFull, EmbPrj, …
Show InterfaceDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric InterfaceDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData InterfaceDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePretty InterfaceDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseInstantiateFull InterfaceDefined in Agda-2.8.0.2 · Agda.TypeChecking.ReduceEmbPrj InterfaceDefined in Agda-2.8.0.2 · Agda.TypeChecking.Serialise.Instances · orphantype Rep Interface = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"Interface"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"Interface"
'PrefixI 'True) ((((S1 ('MetaSel ('Just"iSourceHash"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Hash) :*: (S1 ('MetaSel ('Just"iSource"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just"iFileType"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FileType))) :*: (S1 ('MetaSel ('Just"iImportedModules"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [(TopLevelModuleName, Hash)]) :*: (S1 ('MetaSel ('Just"iModuleName"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ModuleName) :*: S1 ('MetaSel ('Just"iTopLevelModuleName"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TopLevelModuleName)))) :*: ((S1 ('MetaSel ('Just"iScope"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map ModuleName Scope)) :*: (S1 ('MetaSel ('Just"iInsideScope"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ScopeInfo) :*: S1 ('MetaSel ('Just"iSignature"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Signature))) :*: (S1 ('MetaSel ('Just"iMetaBindings"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 RemoteMetaStore) :*: (S1 ('MetaSel ('Just"iDisplayForms"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DisplayForms) :*: S1 ('MetaSel ('Just"iUserWarnings"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UserWarnings))))) :*: (((S1 ('MetaSel ('Just"iImportWarning"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just"iBuiltin"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (BuiltinThings' (PrimitiveId, QName))) :*: S1 ('MetaSel ('Just"iForeignCode"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map BackendName ForeignCodeStack)))) :*: (S1 ('MetaSel ('Just"iHighlighting"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 HighlightingInfo) :*: (S1 ('MetaSel ('Just"iDefaultPragmaOptions"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [OptionsPragma]) :*: S1 ('MetaSel ('Just"iFilePragmaOptions"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [OptionsPragma])))) :*: ((S1 ('MetaSel ('Just"iOptionsUsed"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PragmaOptions) :*: (S1 ('MetaSel ('Just"iPatternSyns"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PatternSynDefns) :*: S1 ('MetaSel ('Just"iWarnings"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set TCWarning)))) :*: (S1 ('MetaSel ('Just"iPartialDefs"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set QName)) :*: (S1 ('MetaSel ('Just"iOpaqueBlocks"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map OpaqueId OpaqueBlock)) :*: S1 ('MetaSel ('Just"iOpaqueNames"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map QName OpaqueId))))))))
Extra information for InvalidFileName error.
Instances4Show, Generic, NFData, Rep
Show InvalidFileNameReasonDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric InvalidFileNameReasonDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData InvalidFileNameReasonDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Basetype Rep InvalidFileNameReason = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"InvalidFileNameReason"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"DoesNotCorrespondToValidModuleName"
'PrefixI 'False) U1 :+: C1 ('MetaCons"RootNameModuleNotAQualifiedModuleName"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))
Boolean flag whether a name is ambiguous.
Constructors
Instances5Show, Generic, NFData, EmbPrj, Rep
Show IsAmbiguousDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric IsAmbiguousDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData IsAmbiguousDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseEmbPrj IsAmbiguousDefined in Agda-2.8.0.2 · Agda.TypeChecking.Serialise.Instances.Errors · orphantype Rep IsAmbiguous = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"IsAmbiguous"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"YesAmbiguous"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AmbiguousQName)) :+: C1 ('MetaCons"NotAmbiguous"
'PrefixI 'False) U1)
Instances9Eq, Show, Generic, NFData, PrettyTCM, KillRange, …
Eq IsForcedDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseShow IsForcedDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric IsForcedDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData IsForcedDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePrettyTCM IsForcedDefined in Agda-2.8.0.2 · Agda.TypeChecking.PrettyKillRange IsForcedDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseChooseFlex IsForcedDefined in Agda-2.8.0.2 · Agda.TypeChecking.Rules.LHS.ProblemEmbPrj IsForcedDefined in Agda-2.8.0.2 · Agda.TypeChecking.Serialise.Instances.Internal · orphantype Rep IsForced = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"IsForced"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"Forced"
'PrefixI 'False) U1 :+: C1 ('MetaCons"NotForced"
'PrefixI 'False) U1)
Three cases: 1. not reduced, 2. reduced, but blocked, 3. reduced, not blocked.
Constructors
NotReducedReduced (Blocked ())
Errors raised by the JS backend.
Instances5Show, Generic, NFData, PrettyTCM, Rep
Show JSBackendErrorDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric JSBackendErrorDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData JSBackendErrorDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePrettyTCM JSBackendErrorDefined in Agda-2.8.0.2 · Agda.TypeChecking.Errors · orphantype Rep JSBackendError = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"JSBackendError"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"BadCompilePragma"
'PrefixI 'False) U1)
Parametrized since it is used without MetaId when creating a new meta.
Constructors
HasTypejMetaId :: ajComparison :: Comparisonare we checking (
CmpLeq) or inferring (CmpEq) the type?jMetaType :: Type
IsSort
Instances8Show, Generic, NFData, Pretty, PrettyTCM, InstantiateFull, …
Show a => Show (Judgement a)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric (Judgement a)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData a => NFData (Judgement a)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePretty a => Pretty (Judgement a)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePrettyTCM a => PrettyTCM (Judgement a)Defined in Agda-2.8.0.2 · Agda.TypeChecking.PrettyInstantiateFull (Judgement MetaId)Defined in Agda-2.8.0.2 · Agda.TypeChecking.ReduceEmbPrj a => EmbPrj (Judgement a)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Serialise.Instances.Internal · orphantype Rep (Judgement a) = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"Judgement"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"HasType"
'PrefixI 'True) (S1 ('MetaSel ('Just"jMetaId"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a) :*: (S1 ('MetaSel ('Just"jComparison"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Comparison) :*: S1 ('MetaSel ('Just"jMetaType"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type))) :+: C1 ('MetaCons"IsSort"
'PrefixI 'True) (S1 ('MetaSel ('Just"jMetaId"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a) :*: S1 ('MetaSel ('Just"jMetaType"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type)))
Instances8Bounded, Enum, Eq, Show, Generic, NFData, …
Bounded LHSOrPatSynDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseEnum LHSOrPatSynDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseEq LHSOrPatSynDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseShow LHSOrPatSynDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric LHSOrPatSynDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData LHSOrPatSynDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseEmbPrj LHSOrPatSynDefined in Agda-2.8.0.2 · Agda.TypeChecking.Serialise.Instances.Errors · orphantype Rep LHSOrPatSyn = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"LHSOrPatSyn"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"IsLHS"
'PrefixI 'False) U1 :+: C1 ('MetaCons"IsPatSyn"
'PrefixI 'False) U1)
Methods
lensClosure :: Lens' b (Closure a)
Instances3LensClosure
LensClosure MetaInfo RangeDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseLensClosure MetaVariable RangeDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseLensClosure (Closure a) aDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base
Instances7Show, Generic, NFData, Subst, InstantiateFull, Rep, …
Show LetBindingDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric LetBindingDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData LetBindingDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseSubst LetBindingDefined in Agda-2.8.0.2 · Agda.TypeChecking.Substitute · orphanInstantiateFull LetBindingDefined in Agda-2.8.0.2 · Agda.TypeChecking.Reducetype Rep LetBinding = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"LetBinding"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"LetBinding"
'PrefixI 'True) (S1 ('MetaSel ('Just"letOrigin"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Origin) :*: (S1 ('MetaSel ('Just"letTerm"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: S1 ('MetaSel ('Just"letType"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Dom Type)))))type SubstArg LetBinding = TermDefined in Agda-2.8.0.2 · Agda.TypeChecking.Substitute · orphan
Constructors
Instances5Eq, Ord, Generic, NFData, Rep
Eq ListenerDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseOrd ListenerDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric ListenerDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData ListenerDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Basetype Rep Listener = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"Listener"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"EtaExpand"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 MetaId)) :+: C1 ('MetaCons"CheckConstraint"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Nat) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ProblemConstraint)))
Constructors
Instances3Generic, NFData, Rep
Generic LoadedFileCacheDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData LoadedFileCacheDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Basetype Rep LoadedFileCache = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"LoadedFileCache"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"LoadedFileCache"
'PrefixI 'True) (S1 ('MetaSel ('Just"lfcCached"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 CachedTypeCheckLog) :*: S1 ('MetaSel ('Just"lfcCurrent"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 CurrentTypeCheckLog)))
Used for meta-variables from the current module.
Constructors
Instances3Functor, PrettyTCM, IsProjElim
Functor MaybeReducedDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePrettyTCM a => PrettyTCM (MaybeReduced a)Defined in Agda-2.8.0.2 · Agda.TypeChecking.PrettyIsProjElim e => IsProjElim (MaybeReduced e)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base
MetaInfo is cloned from one meta to the next during pruning.
Constructors
MetaInfomiClosRange :: Closure RangemiModality :: ModalityInstantiable with irrelevant/erased solution?
miMetaOccursCheck :: RunMetaOccursCheckRun the extended occurs check that goes in definitions?
miNameSuggestion :: MetaNameSuggestionUsed for printing.
Just xif meta-variable comes from omitted argument with namex.miGeneralizable :: Arg DoGeneralizeShould this meta be generalized if unsolved? If so, at what ArgInfo?
Instances11Generic, NFData, HasRange, LensQuantity, LensRelevance, LensModalPolarity, …
Generic MetaInfoDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData MetaInfoDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseHasRange MetaInfoDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseLensQuantity MetaInfoDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseLensRelevance MetaInfoDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseLensModalPolarity MetaInfoDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseSetRange MetaInfoDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseLensIsAbstract MetaInfoDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseLensModality MetaInfoDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseLensClosure MetaInfo RangeDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Basetype Rep MetaInfo = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"MetaInfo"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"MetaInfo"
'PrefixI 'True) ((S1 ('MetaSel ('Just"miClosRange"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Closure Range)) :*: S1 ('MetaSel ('Just"miModality"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Modality)) :*: (S1 ('MetaSel ('Just"miMetaOccursCheck"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 RunMetaOccursCheck) :*: (S1 ('MetaSel ('Just"miNameSuggestion"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 MetaNameSuggestion) :*: S1 ('MetaSel ('Just"miGeneralizable"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Arg DoGeneralize))))))
Solution status of meta.
Constructors
InstV InstantiationSolved by Instantiation.
OpenMeta MetaKindUnsolved (open to solutions).
BlockedConst TermSolved, but solution blocked by unsolved constraints.
PostponedTypeCheckingProblem (Closure TypeCheckingProblem)Meta stands for value of the expression that is still to be type checked.
Instances4Generic, NFData, Pretty, Rep
Generic MetaInstantiationDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData MetaInstantiationDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePretty MetaInstantiationDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Basetype Rep MetaInstantiation = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"MetaInstantiation"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) ((C1 ('MetaCons"InstV"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Instantiation)) :+: C1 ('MetaCons"OpenMeta"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 MetaKind))) :+: (C1 ('MetaCons"BlockedConst"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term)) :+: C1 ('MetaCons"PostponedTypeCheckingProblem"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Closure TypeCheckingProblem)))))
Meta variable priority: When we have an equation between meta-variables, which one should be instantiated?
Higher value means higher priority to be instantiated.
Constructors
Instances4Eq, Ord, Show, NFData
Eq MetaPriorityDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseOrd MetaPriorityDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseShow MetaPriorityDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData MetaPriorityDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base
Information about local meta-variables.
Constructors
MetaVarmvInfo :: MetaInfomvPriority :: MetaPrioritysome metavariables are more eager to be instantiated
mvPermutation :: Permutationa metavariable doesn't have to depend on all variables in the context, this "permutation" will throw away the ones it does not depend on
mvJudgement :: Judgement MetaIdmvInstantiation :: MetaInstantiationmvListeners :: Set Listenermeta variables scheduled for eta-expansion but blocked by this one
mvFrozen :: Frozenare we past the point where we can instantiate this meta variable?
mvTwin :: Maybe MetaIdJust mmeans that this meta-variable will be equated tomwhen the latter is unblocked. See blockTermOnProblem.
Instances9Generic, NFData, HasRange, LensQuantity, LensRelevance, SetRange, …
Generic MetaVariableDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData MetaVariableDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseHasRange MetaVariableDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseLensQuantity MetaVariableDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseLensRelevance MetaVariableDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseSetRange MetaVariableDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseLensModality MetaVariableDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseLensClosure MetaVariable RangeDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Basetype Rep MetaVariable = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"MetaVariable"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"MetaVar"
'PrefixI 'True) (((S1 ('MetaSel ('Just"mvInfo"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 MetaInfo) :*: S1 ('MetaSel ('Just"mvPriority"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 MetaPriority)) :*: (S1 ('MetaSel ('Just"mvPermutation"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Permutation) :*: S1 ('MetaSel ('Just"mvJudgement"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Judgement MetaId)))) :*: ((S1 ('MetaSel ('Just"mvInstantiation"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 MetaInstantiation) :*: S1 ('MetaSel ('Just"mvListeners"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set Listener))) :*: (S1 ('MetaSel ('Just"mvFrozen"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Frozen) :*: S1 ('MetaSel ('Just"mvTwin"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe MetaId))))))
Extra information for MissingTypeSignature error.
Constructors
MissingDataSignature NameThe
datadefinition for Name lacks a data signature.MissingRecordSignature NameThe
recorddefinition for Name lacks a record signature.MissingFunctionSignature LHSThe function lhs misses a type signature.
Instances5Show, Generic, NFData, PrettyTCM, Rep
Show MissingTypeSignatureInfoDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric MissingTypeSignatureInfoDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData MissingTypeSignatureInfoDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePrettyTCM MissingTypeSignatureInfoDefined in Agda-2.8.0.2 · Agda.TypeChecking.Errors · orphantype Rep MissingTypeSignatureInfo = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"MissingTypeSignatureInfo"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"MissingDataSignature"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Name)) :+: (C1 ('MetaCons"MissingRecordSignature"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Name)) :+: C1 ('MetaCons"MissingFunctionSignature"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 LHS))))
Distinguishes between type-checked and scope-checked interfaces when stored in the map of VisitedModules.
Instances8Bounded, Enum, Eq, Ord, Show, Generic, …
Bounded ModuleCheckModeDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseEnum ModuleCheckModeDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseEq ModuleCheckModeDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseOrd ModuleCheckModeDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseShow ModuleCheckModeDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric ModuleCheckModeDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData ModuleCheckModeDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Basetype Rep ModuleCheckMode = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"ModuleCheckMode"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"ModuleScopeChecked"
'PrefixI 'False) U1 :+: C1 ('MetaCons"ModuleTypeChecked"
'PrefixI 'False) U1)
Constructors
ModuleInfomiInterface :: InterfacemiWarnings :: Set TCWarningWarnings were encountered when the module was type checked. These might include warnings not stored in the interface itself, specifically unsolved interaction metas. See Agda.Interaction.Imports
miPrimitive :: BoolTrue if the module is a primitive module, which should always be importable.
miMode :: ModuleCheckModeThe ModuleCheckMode used to create the Interface
Instances3Generic, NFData, Rep
Generic ModuleInfoDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData ModuleInfoDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Basetype Rep ModuleInfo = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"ModuleInfo"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"ModuleInfo"
'PrefixI 'True) ((S1 ('MetaSel ('Just"miInterface"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Interface) :*: S1 ('MetaSel ('Just"miWarnings"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set TCWarning))) :*: (S1 ('MetaSel ('Just"miPrimitive"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just"miMode"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ModuleCheckMode))))
Methods
patternViolation :: Blocker -> m a`patternViolation b` aborts the current computation
catchPatternErr :: (Blocker -> m a) -> m a -> m a`catchPatternErr handle m` runs m, handling pattern violations with
handle(doesn't roll back the state)
Instances7MonadBlock, …
MonadBlock TCMDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadBlock NLMDefined in Agda-2.8.0.2 · Agda.TypeChecking.Rewriting.NonLinMatchMonadBlock m => MonadBlock (MaybeT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonad m => MonadBlock (PureConversionT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Conversion.PureMonad m => MonadBlock (BlockT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadBlock m => MonadBlock (ReaderT e m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonad m => MonadBlock (ExceptT TCErr m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base
Methods
fresh :: m i
Instances12MonadFresh, …
HasFresh i => MonadFresh i TCMDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadFresh NameId m => MonadFresh NameId (AbsToConT m)Defined in Agda-2.8.0.2 · Agda.Syntax.Translation.AbstractToConcreteMonadFresh i m => MonadFresh i (ListT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadFresh i m => MonadFresh i (MaybeT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonad m => MonadFresh NameId (PureConversionT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Conversion.PureMonad m => MonadFresh ProblemId (PureConversionT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Conversion.PureMonad m => MonadFresh Int (PureConversionT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Conversion.PureMonadFresh i m => MonadFresh i (ExceptT e m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadFresh i m => MonadFresh i (IdentityT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadFresh i m => MonadFresh i (ReaderT r m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadFresh i m => MonadFresh i (StateT s m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base(MonadFresh i m, Monoid w) => MonadFresh i (WriterT w m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base
class (Applicative m, MonadTCEnv m, ReadTCState m, HasOptions m) => MonadReduce (m :: Type -> Type) whereMethods
liftReduce :: ReduceM a -> m a
Instances17MonadReduce, …
MonadReduce TerMDefined in Agda-2.8.0.2 · Agda.Termination.MonadMonadReduce ForcedVariableCollection'Defined in Agda-2.8.0.2 · Agda.TypeChecking.ForcingMonadReduce ReduceMDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadReduce NLMDefined in Agda-2.8.0.2 · Agda.TypeChecking.Rewriting.NonLinMatchMonadReduce m => MonadReduce (AbsToConT m)Defined in Agda-2.8.0.2 · Agda.Syntax.Translation.AbstractToConcreteMonadReduce m => MonadReduce (PureConversionT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Conversion.PureMonadReduce m => MonadReduce (BlockT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadReduce m => MonadReduce (NamesT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.NamesMonadReduce m => MonadReduce (ListT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadReduce m => MonadReduce (ChangeT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadReduce m => MonadReduce (MaybeT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadIO m => MonadReduce (TCMT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadReduce m => MonadReduce (ExceptT err m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadReduce m => MonadReduce (IdentityT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadReduce m => MonadReduce (ReaderT r m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadReduce m => MonadReduce (StateT w m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base(Monoid w, MonadReduce m) => MonadReduce (WriterT w m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base
A monad that has read and write access to the stConcreteNames part of the TCState. Basically, this is a synonym for `MonadState ConcreteNames m` (which cannot be used directly because of the limitations of Haskell's typeclass system).
Methods
runStConcreteNames :: StateT ConcreteNames m a -> m auseConcreteNames :: m ConcreteNamesmodifyConcreteNames :: (ConcreteNames -> ConcreteNames) -> m ()
Instances9MonadStConcreteNames, …
MonadStConcreteNames TCMDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadStConcreteNames m => MonadStConcreteNames (AbsToConT m)Defined in Agda-2.8.0.2 · Agda.Syntax.Translation.AbstractToConcreteMonadStConcreteNames m => MonadStConcreteNames (MaybeT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseReadTCState m => MonadStConcreteNames (PureConversionT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Conversion.PureMonadStConcreteNames m => MonadStConcreteNames (ExceptT e m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseThe concrete names get lost in case of an exception.
MonadStConcreteNames m => MonadStConcreteNames (IdentityT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadStConcreteNames m => MonadStConcreteNames (ReaderT r m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadStConcreteNames m => MonadStConcreteNames (StateT s m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base(MonadStConcreteNames m, Monoid w) => MonadStConcreteNames (WriterT w m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base
MonadTCEnv made into its own dedicated service class.
This allows us to use MonadReader for ReaderT extensions of TCM.
Instances19MonadTCEnv, …
MonadTCEnv ReplMDefined in Agda-2.8.0.2 · Agda.Interaction.CommandLineMonadTCEnv IMDefined in Agda-2.8.0.2 · Agda.Interaction.MonadMonadTCEnv TerMDefined in Agda-2.8.0.2 · Agda.Termination.MonadMonadTCEnv ForcedVariableCollection'Defined in Agda-2.8.0.2 · Agda.TypeChecking.ForcingMonadTCEnv ReduceMDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadTCEnv NLMDefined in Agda-2.8.0.2 · Agda.TypeChecking.Rewriting.NonLinMatchMonadTCEnv m => MonadTCEnv (AbsToConT m)Defined in Agda-2.8.0.2 · Agda.Syntax.Translation.AbstractToConcreteMonadTCEnv m => MonadTCEnv (PureConversionT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Conversion.PureMonadTCEnv m => MonadTCEnv (BlockT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadTCEnv m => MonadTCEnv (NamesT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.NamesMonadTCEnv m => MonadTCEnv (ListT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadTCEnv m => MonadTCEnv (ChangeT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadTCEnv m => MonadTCEnv (MaybeT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadIO m => MonadTCEnv (TCMT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadTCEnv m => MonadTCEnv (ExceptT err m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadTCEnv m => MonadTCEnv (IdentityT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadTCEnv m => MonadTCEnv (ReaderT r m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadTCEnv m => MonadTCEnv (StateT s m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base(Monoid w, MonadTCEnv m) => MonadTCEnv (WriterT w m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base
The constraints needed for typeError and similar.
class (Applicative tcm, MonadIO tcm, MonadTCEnv tcm, MonadTCState tcm, HasOptions tcm) => MonadTCM (tcm :: Type -> Type) whereInstances14MonadTCM, …
MonadTCM ReplMDefined in Agda-2.8.0.2 · Agda.Interaction.CommandLineMonadTCM IMDefined in Agda-2.8.0.2 · Agda.Interaction.MonadMonadTCM TerMDefined in Agda-2.8.0.2 · Agda.Termination.MonadMonadTCM m => MonadTCM (BlockT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadTCM m => MonadTCM (NamesT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.NamesMonadTCM tcm => MonadTCM (ListT tcm)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadTCM tcm => MonadTCM (ChangeT tcm)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadTCM tcm => MonadTCM (MaybeT tcm)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadIO m => MonadTCM (TCMT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadTCM tcm => MonadTCM (ExceptT err tcm)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadTCM tcm => MonadTCM (IdentityT tcm)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadTCM tcm => MonadTCM (ReaderT r tcm)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadTCM tcm => MonadTCM (StateT s tcm)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base(Monoid w, MonadTCM tcm) => MonadTCM (WriterT w tcm)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base
MonadTCState made into its own dedicated service class.
This allows us to use MonadState for StateT extensions of TCM.
Instances14MonadTCState, …
MonadTCState ReplMDefined in Agda-2.8.0.2 · Agda.Interaction.CommandLineMonadTCState IMDefined in Agda-2.8.0.2 · Agda.Interaction.MonadMonadTCState TerMDefined in Agda-2.8.0.2 · Agda.Termination.MonadMonadTCState m => MonadTCState (BlockT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadTCState m => MonadTCState (NamesT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.NamesMonadTCState m => MonadTCState (ListT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadTCState m => MonadTCState (ChangeT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadTCState m => MonadTCState (MaybeT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadIO m => MonadTCState (TCMT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadTCState m => MonadTCState (ExceptT err m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadTCState m => MonadTCState (IdentityT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadTCState m => MonadTCState (ReaderT r m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadTCState m => MonadTCState (StateT s m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base(Monoid w, MonadTCState m) => MonadTCState (WriterT w m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base
A mutual block of names in the signature.
Constructors
MutualBlockmutualInfo :: MutualInfoThe original info of the mutual block.
mutualNames :: Set QName
Instances6Eq, Show, Generic, NFData, Null, Rep
Eq MutualBlockDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseShow MutualBlockDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric MutualBlockDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData MutualBlockDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNull MutualBlockDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Basetype Rep MutualBlock = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"MutualBlock"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"MutualBlock"
'PrefixI 'True) (S1 ('MetaSel ('Just"mutualInfo"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 MutualInfo) :*: S1 ('MetaSel ('Just"mutualNames"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set QName))))
Map MutualId to MutualBlock.
Instances10Enum, Eq, Num, Ord, Show, NFData, …
Enum MutualIdDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseEq MutualIdDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNum MutualIdDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseOrd MutualIdDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseShow MutualIdDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData MutualIdDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePretty MutualIdDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseHasFresh MutualIdDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseKillRange MutualIdDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseEmbPrj MutualIdDefined in Agda-2.8.0.2 · Agda.TypeChecking.Serialise.Instances.Internal · orphan
Instances19Show, Generic, NFData, Subst, PrettyTCM, Free, …
Show NLPSortDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric NLPSortDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData NLPSortDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseSubst NLPSortDefined in Agda-2.8.0.2 · Agda.TypeChecking.Substitute · orphanPrettyTCM NLPSortDefined in Agda-2.8.0.2 · Agda.TypeChecking.PrettyFree NLPSortDefined in Agda-2.8.0.2 · Agda.TypeChecking.Rewriting.NonLinPattern · orphanAllMetas NLPSortDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseTermLike NLPSortDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseKillRange NLPSortDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNamesIn NLPSortDefined in Agda-2.8.0.2 · Agda.Syntax.Internal.NamesInstantiateFull NLPSortDefined in Agda-2.8.0.2 · Agda.TypeChecking.ReduceGetMatchables NLPSortDefined in Agda-2.8.0.2 · Agda.TypeChecking.Rewriting.NonLinPatternNLPatVars NLPSortDefined in Agda-2.8.0.2 · Agda.TypeChecking.Rewriting.NonLinPatternEmbPrj NLPSortDefined in Agda-2.8.0.2 · Agda.TypeChecking.Serialise.Instances.Internal · orphanMatch NLPSort SortDefined in Agda-2.8.0.2 · Agda.TypeChecking.Rewriting.NonLinMatchNLPatToTerm NLPSort SortDefined in Agda-2.8.0.2 · Agda.TypeChecking.Rewriting.NonLinPatternPatternFrom Sort NLPSortDefined in Agda-2.8.0.2 · Agda.TypeChecking.Rewriting.NonLinPatterntype Rep NLPSort = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"NLPSort"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) ((C1 ('MetaCons"PUniv"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Univ) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NLPat)) :+: (C1 ('MetaCons"PInf"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Univ) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)) :+: C1 ('MetaCons"PSizeUniv"
'PrefixI 'False) U1)) :+: (C1 ('MetaCons"PLockUniv"
'PrefixI 'False) U1 :+: (C1 ('MetaCons"PLevelUniv"
'PrefixI 'False) U1 :+: C1 ('MetaCons"PIntervalUniv"
'PrefixI 'False) U1)))type SubstArg NLPSort = NLPatDefined in Agda-2.8.0.2 · Agda.TypeChecking.Substitute · orphan
Constructors
Instances19Show, Generic, NFData, Subst, PrettyTCM, Free, …
Show NLPTypeDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric NLPTypeDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData NLPTypeDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseSubst NLPTypeDefined in Agda-2.8.0.2 · Agda.TypeChecking.Substitute · orphanPrettyTCM NLPTypeDefined in Agda-2.8.0.2 · Agda.TypeChecking.PrettyFree NLPTypeDefined in Agda-2.8.0.2 · Agda.TypeChecking.Rewriting.NonLinPattern · orphanAllMetas NLPTypeDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseTermLike NLPTypeDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseKillRange NLPTypeDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNamesIn NLPTypeDefined in Agda-2.8.0.2 · Agda.Syntax.Internal.NamesInstantiateFull NLPTypeDefined in Agda-2.8.0.2 · Agda.TypeChecking.ReduceGetMatchables NLPTypeDefined in Agda-2.8.0.2 · Agda.TypeChecking.Rewriting.NonLinPatternNLPatVars NLPTypeDefined in Agda-2.8.0.2 · Agda.TypeChecking.Rewriting.NonLinPatternEmbPrj NLPTypeDefined in Agda-2.8.0.2 · Agda.TypeChecking.Serialise.Instances.Internal · orphanMatch NLPType TypeDefined in Agda-2.8.0.2 · Agda.TypeChecking.Rewriting.NonLinMatchNLPatToTerm NLPType TypeDefined in Agda-2.8.0.2 · Agda.TypeChecking.Rewriting.NonLinPatternPatternFrom Type NLPTypeDefined in Agda-2.8.0.2 · Agda.TypeChecking.Rewriting.NonLinPatterntype Rep NLPType = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"NLPType"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"NLPType"
'PrefixI 'True) (S1 ('MetaSel ('Just"nlpTypeSort"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NLPSort) :*: S1 ('MetaSel ('Just"nlpTypeUnEl"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NLPat)))type SubstArg NLPType = NLPatDefined in Agda-2.8.0.2 · Agda.TypeChecking.Substitute · orphan
Non-linear (non-constructor) first-order pattern.
Constructors
PVar !Int [Arg Int]Matches anything (modulo non-linearity) that only contains bound variables that occur in the given arguments.
PDef QName PElimsMatches
f esPLam ArgInfo (Abs NLPat)Matches
λ x → tPPi (Dom NLPType) (Abs NLPType)Matches
(x : A) → BPSort NLPSortMatches a sort of the given shape.
PBoundVar !Int PElimsMatches
x eswhere x is a lambda-bound variablePTerm TermMatches the term modulo β (ideally βη).
Instances31Show, Generic, NFData, DeBruijn, Subst, Free, …
Show NLPatDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric NLPatDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData NLPatDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseDeBruijn NLPatDefined in Agda-2.8.0.2 · Agda.TypeChecking.Substitute · orphanSubst NLPatDefined in Agda-2.8.0.2 · Agda.TypeChecking.Substitute · orphanPrettyTCM NLPatDefined in Agda-2.8.0.2 · Agda.TypeChecking.PrettyFree NLPatDefined in Agda-2.8.0.2 · Agda.TypeChecking.Rewriting.NonLinPattern · orphanAllMetas NLPatDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseTermLike NLPatDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseKillRange NLPatDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNamesIn NLPatDefined in Agda-2.8.0.2 · Agda.Syntax.Internal.NamesInstantiateFull NLPatDefined in Agda-2.8.0.2 · Agda.TypeChecking.ReduceGetMatchables NLPatDefined in Agda-2.8.0.2 · Agda.TypeChecking.Rewriting.NonLinPatternNLPatVars NLPatDefined in Agda-2.8.0.2 · Agda.TypeChecking.Rewriting.NonLinPatternEmbPrj NLPatDefined in Agda-2.8.0.2 · Agda.TypeChecking.Serialise.Instances.Internal · orphanMatch NLPat LevelDefined in Agda-2.8.0.2 · Agda.TypeChecking.Rewriting.NonLinMatchMatch NLPat TermDefined in Agda-2.8.0.2 · Agda.TypeChecking.Rewriting.NonLinMatchNLPatToTerm NLPat LevelDefined in Agda-2.8.0.2 · Agda.TypeChecking.Rewriting.NonLinPatternNLPatToTerm NLPat TermDefined in Agda-2.8.0.2 · Agda.TypeChecking.Rewriting.NonLinPatternPatternFrom Level NLPatDefined in Agda-2.8.0.2 · Agda.TypeChecking.Rewriting.NonLinPatternPatternFrom Term NLPatDefined in Agda-2.8.0.2 · Agda.TypeChecking.Rewriting.NonLinPatternPatternFrom Elims [Elim' NLPat]Defined in Agda-2.8.0.2 · Agda.TypeChecking.Rewriting.NonLinPatternPrettyTCM (Type' NLPat)Defined in Agda-2.8.0.2 · Agda.TypeChecking.PrettyPrettyTCM (Elim' NLPat)Defined in Agda-2.8.0.2 · Agda.TypeChecking.PrettyMatch [Elim' NLPat] ElimsDefined in Agda-2.8.0.2 · Agda.TypeChecking.Rewriting.NonLinMatchToNLPat (Arg DeBruijnPattern) (Elim' NLPat)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Rewriting.ClauseToNLPat (NamedArg DeBruijnPattern) (Elim' NLPat)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Rewriting.Clausetype Rep NLPat = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"NLPat"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) ((C1 ('MetaCons"PVar"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Int) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Arg Int])) :+: (C1 ('MetaCons"PDef"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PElims)) :+: C1 ('MetaCons"PLam"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ArgInfo) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Abs NLPat))))) :+: ((C1 ('MetaCons"PPi"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Dom NLPType)) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Abs NLPType))) :+: C1 ('MetaCons"PSort"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NLPSort))) :+: (C1 ('MetaCons"PBoundVar"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'SourceUnpack 'SourceStrict 'DecidedUnpack) (Rec0 Int) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PElims)) :+: C1 ('MetaCons"PTerm"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term)))))type SubstArg NLPat = NLPatDefined in Agda-2.8.0.2 · Agda.TypeChecking.Substitute · orphantype TypeOf NLPat = TypeDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Basetype TypeOf [Elim' NLPat] = (Type, Elims -> Term)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base
Constructors
Instances5Show, Generic, NFData, PrettyTCM, Rep
Show NegativeUnificationDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric NegativeUnificationDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData NegativeUnificationDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePrettyTCM NegativeUnificationDefined in Agda-2.8.0.2 · Agda.TypeChecking.Errors · orphantype Rep NegativeUnification = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"NegativeUnification"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"UnifyConflict"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Telescope) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term))) :+: C1 ('MetaCons"UnifyCycle"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Telescope) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term))))
Constructors
NoGeneralizableArgsSomeGeneralizableArgs !IntWhen lambda-lifting new args are generalizable if SomeGeneralizableArgs, also when the number is zero.
Instances6Show, NFData, Apply, KillRange, Abstract, EmbPrj
Show NumGeneralizableArgsDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData NumGeneralizableArgsDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseApply NumGeneralizableArgsDefined in Agda-2.8.0.2 · Agda.TypeChecking.Substitute · orphanKillRange NumGeneralizableArgsDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseAbstract NumGeneralizableArgsDefined in Agda-2.8.0.2 · Agda.TypeChecking.Substitute · orphanEmbPrj NumGeneralizableArgsDefined in Agda-2.8.0.2 · Agda.TypeChecking.Serialise.Instances.Internal · orphan
A block of opaque definitions.
Constructors
OpaqueBlockopaqueId :: !OpaqueIdUnique identifier for this block.
opaqueUnfolding :: HashSet QNameSet of names we are allowed to unfold. After scope-checking, this set should be transitively closed.
opaqueDecls :: HashSet QNameDeclarations contained in this abstract block.
opaqueParent :: Maybe OpaqueIdPointer to an enclosing opaque block, if one exists.
opaqueRange :: RangeWhere is this opaque block?
Instances8Eq, Show, Generic, NFData, Hashable, Pretty, …
Eq OpaqueBlockDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseShow OpaqueBlockDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric OpaqueBlockDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData OpaqueBlockDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseHashable OpaqueBlockDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePretty OpaqueBlockDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseEmbPrj OpaqueBlockDefined in Agda-2.8.0.2 · Agda.TypeChecking.Serialise.Instances.Internal · orphantype Rep OpaqueBlock = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"OpaqueBlock"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"OpaqueBlock"
'PrefixI 'True) ((S1 ('MetaSel ('Just"opaqueId"
) 'SourceUnpack 'SourceStrict 'DecidedUnpack) (Rec0 OpaqueId) :*: S1 ('MetaSel ('Just"opaqueUnfolding"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (HashSet QName))) :*: (S1 ('MetaSel ('Just"opaqueDecls"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (HashSet QName)) :*: (S1 ('MetaSel ('Just"opaqueParent"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe OpaqueId)) :*: S1 ('MetaSel ('Just"opaqueRange"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range)))))
A thing tagged with the context it came from. Also keeps the substitution from previous checkpoints. This lets us handle the case when an open thing was created in a context that we have since exited. Remember which module it's from to make sure we don't get confused by checkpoints from other files.
Instances14Functor, Foldable, Traversable, Decoration, Show, Generic, …
Functor OpenDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseFoldable OpenDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseTraversable OpenDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseDecoration OpenDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseShow a => Show (Open a)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric (Open a)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData a => NFData (Open a)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePretty a => Pretty (Open a)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseChaseDisplayForms a => ChaseDisplayForms (Open a)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.SignatureKillRange a => KillRange (Open a)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNamesIn a => NamesIn (Open a)Defined in Agda-2.8.0.2 · Agda.Syntax.Internal.NamesInstantiateFull t => InstantiateFull (Open t)Defined in Agda-2.8.0.2 · Agda.TypeChecking.ReduceEmbPrj a => EmbPrj (Open a)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Serialise.Instances.Internal · orphantype Rep (Open a) = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"Open"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"OpenThing"
'PrefixI 'True) ((S1 ('MetaSel ('Just"openThingCheckpoint"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CheckpointId) :*: S1 ('MetaSel ('Just"openThingCheckpointMap"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map CheckpointId Substitution))) :*: (S1 ('MetaSel ('Just"openThingModule"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ModuleNameHash) :*: S1 ('MetaSel ('Just"openThing"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a))))
Flag to indicate whether the meta is overapplied in the constraint. A meta is overapplied if it has more arguments than the size of the telescope in its creation environment (as stored in MetaInfo).
Instances5Eq, Show, Generic, NFData, Rep
Eq OverappliedDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseShow OverappliedDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric OverappliedDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData OverappliedDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Basetype Rep Overapplied = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"Overapplied"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"Overapplied"
'PrefixI 'False) U1 :+: C1 ('MetaCons"NotOverapplied"
'PrefixI 'False) U1)
A part of the state which is not reverted when an error is thrown or the state is reset.
Constructors
PersistentTCStstPersistentSession :: !SessionTCStateState that persists for the whole Agda session. Grows monotonically, never sees any deletion.
stDecodedModules :: !DecodedModulesType-checked modules we visited during our Agda session. A module gets dropped from this list if its source or the source of any of its dependencies changed, or when its identity or the identity of one of its dependencies changed due to a change of the include paths.
stPersistentTopLevelModuleNames :: !BiMap RawTopLevelModuleName ModuleNameHashModule name hashes for top-level module names (and vice versa).
stPersistentOptions :: CommandLineOptionsstInteractionOutputCallback :: InteractionOutputCallbackCallback function to call when there is a response to give to the interactive frontend. See the documentation of InteractionOutputCallback.
stAccumStatistics :: !StatisticsShould be strict field.
stPersistLoadedFileCache :: !Maybe LoadedFileCacheCached typechecking state from the last loaded file. Should be
Nothingwhen checking imports.
Instances7Generic, NFData, LensCommandLineOptions, LensIncludePaths, LensPersistentVerbosity, LensSafeMode, …
Generic PersistentTCStateDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData PersistentTCStateDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseLensCommandLineOptions PersistentTCStateDefined in Agda-2.8.0.2 · Agda.Interaction.Options.LensesLensIncludePaths PersistentTCStateDefined in Agda-2.8.0.2 · Agda.Interaction.Options.LensesLensPersistentVerbosity PersistentTCStateDefined in Agda-2.8.0.2 · Agda.Interaction.Options.LensesLensSafeMode PersistentTCStateDefined in Agda-2.8.0.2 · Agda.Interaction.Options.Lensestype Rep PersistentTCState = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"PersistentTCState"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"PersistentTCSt"
'PrefixI 'True) ((S1 ('MetaSel ('Just"stPersistentSession"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 SessionTCState) :*: (S1 ('MetaSel ('Just"stDecodedModules"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 DecodedModules) :*: S1 ('MetaSel ('Just"stPersistentTopLevelModuleNames"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (BiMap RawTopLevelModuleName ModuleNameHash)))) :*: ((S1 ('MetaSel ('Just"stPersistentOptions"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CommandLineOptions) :*: S1 ('MetaSel ('Just"stInteractionOutputCallback"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 InteractionOutputCallback)) :*: (S1 ('MetaSel ('Just"stAccumStatistics"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Statistics) :*: S1 ('MetaSel ('Just"stPersistLoadedFileCache"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe LoadedFileCache))))))
Constructors
PostScopeStatestPostSyntaxInfo :: !HighlightingInfoHighlighting info.
stPostDisambiguatedNames :: !DisambiguatedNamesDisambiguation carried out by the type checker. Maps position of first name character to disambiguated
QNamefor eachAmbiguousQNamealready passed by the type checker.stPostOpenMetaStore :: !LocalMetaStoreUsed for open meta-variables.
stPostSolvedMetaStore :: !LocalMetaStoreUsed for local, instantiated meta-variables.
stPostInteractionPoints :: !InteractionPointsstPostAwakeConstraints :: !ConstraintsstPostSleepingConstraints :: !ConstraintsstPostDirty :: !BoolDirty when a constraint is added, used to prevent pointer update. Currently unused.
stPostOccursCheckDefs :: !Set QNameDefinitions to be considered during occurs check. Initialized to the current mutual block before the check. During occurs check, we remove definitions from this set as soon we have checked them.
stPostSignature :: !SignatureDeclared identifiers of the current file. These will be serialized after successful type checking.
stPostModuleCheckpoints :: !Map ModuleName CheckpointIdFor each module remember the checkpoint corresponding to the orignal context of the module parameters.
stPostImportsDisplayForms :: !DisplayFormsDisplay forms we add for imported identifiers
stPostForeignCode :: !BackendForeignCode{-# FOREIGN #-}code that should be included in the compiled output. Does not include code for imported modules.stPostCurrentModule :: !Maybe (ModuleName, TopLevelModuleName)The current module is available after it has been type checked.
stPostPendingInstances :: !Set QNamestPostTemporaryInstances :: !Set QNamestPostConcreteNames :: !ConcreteNamesMap keeping track of concrete names assigned to each abstract name (can be more than one name in case the first one is shadowed)
stPostUsedNames :: !UsedNamesMap keeping track for each name root (= name w/o numeric suffixes) what names with the same root have been used during a TC computation. This information is used to build the
ShadowingNamesmap.stPostShadowingNames :: !ShadowingNamesMap keeping track for each (abstract) name the list of all (raw) names that it could maybe be shadowed by.
stPostStatistics :: !StatisticsCounters to collect various statistics about meta variables etc. Only for current file.
stPostTCWarnings :: !Set TCWarningstPostMutualBlocks :: !MutualBlocksstPostLocalBuiltins :: !BuiltinThingsstPostFreshMetaId :: !MetaIdstPostFreshMutualId :: !MutualIdstPostFreshProblemId :: !ProblemIdstPostFreshCheckpointId :: !CheckpointIdstPostFreshInt :: !IntstPostFreshNameId :: !NameIdstPostFreshOpaqueId :: !OpaqueIdstPostAreWeCaching :: !BoolstPostPostponeInstanceSearch :: !BoolstPostConsideringInstance :: !BoolstPostInstantiateBlocking :: !BoolShould we instantiate away blocking metas? This can produce ill-typed terms but they are often more readable. See issue #3606. Best set to True only for calls to pretty*/reify to limit unwanted reductions.
stPostLocalPartialDefs :: !Set QNameLocal partial definitions, to be stored in the
InterfacestPostOpaqueBlocks :: Map OpaqueId OpaqueBlockAssociates opaque identifiers to their actual blocks.
stPostOpaqueIds :: Map QName OpaqueIdAssociates each opaque QName to the block it was defined in.
stPostInstanceHack :: !BoolIs this a context where we should always try every possible instance candidate? Used to support "inert improvement", see
shouldBlockOverlapin InstanceArguments.
Instances3Generic, NFData, Rep
Generic PostScopeStateDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData PostScopeStateDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseThis instance could be optimised, some things are guaranteed to be forced.
type Rep PostScopeState = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"PostScopeState"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"PostScopeState"
'PrefixI 'True) (((((S1 ('MetaSel ('Just"stPostSyntaxInfo"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HighlightingInfo) :*: S1 ('MetaSel ('Just"stPostDisambiguatedNames"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 DisambiguatedNames)) :*: (S1 ('MetaSel ('Just"stPostOpenMetaStore"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 LocalMetaStore) :*: S1 ('MetaSel ('Just"stPostSolvedMetaStore"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 LocalMetaStore))) :*: ((S1 ('MetaSel ('Just"stPostInteractionPoints"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 InteractionPoints) :*: S1 ('MetaSel ('Just"stPostAwakeConstraints"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Constraints)) :*: (S1 ('MetaSel ('Just"stPostSleepingConstraints"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Constraints) :*: (S1 ('MetaSel ('Just"stPostDirty"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just"stPostOccursCheckDefs"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Set QName)))))) :*: (((S1 ('MetaSel ('Just"stPostSignature"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Signature) :*: S1 ('MetaSel ('Just"stPostModuleCheckpoints"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Map ModuleName CheckpointId))) :*: (S1 ('MetaSel ('Just"stPostImportsDisplayForms"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 DisplayForms) :*: (S1 ('MetaSel ('Just"stPostForeignCode"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 BackendForeignCode) :*: S1 ('MetaSel ('Just"stPostCurrentModule"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe (ModuleName, TopLevelModuleName)))))) :*: ((S1 ('MetaSel ('Just"stPostPendingInstances"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Set QName)) :*: S1 ('MetaSel ('Just"stPostTemporaryInstances"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Set QName))) :*: (S1 ('MetaSel ('Just"stPostConcreteNames"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ConcreteNames) :*: (S1 ('MetaSel ('Just"stPostUsedNames"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 UsedNames) :*: S1 ('MetaSel ('Just"stPostShadowingNames"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ShadowingNames)))))) :*: ((((S1 ('MetaSel ('Just"stPostStatistics"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Statistics) :*: S1 ('MetaSel ('Just"stPostTCWarnings"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Set TCWarning))) :*: (S1 ('MetaSel ('Just"stPostMutualBlocks"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 MutualBlocks) :*: S1 ('MetaSel ('Just"stPostLocalBuiltins"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 BuiltinThings))) :*: ((S1 ('MetaSel ('Just"stPostFreshMetaId"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 MetaId) :*: S1 ('MetaSel ('Just"stPostFreshMutualId"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 MutualId)) :*: (S1 ('MetaSel ('Just"stPostFreshProblemId"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 ProblemId) :*: (S1 ('MetaSel ('Just"stPostFreshCheckpointId"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 CheckpointId) :*: S1 ('MetaSel ('Just"stPostFreshInt"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Int))))) :*: (((S1 ('MetaSel ('Just"stPostFreshNameId"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 NameId) :*: S1 ('MetaSel ('Just"stPostFreshOpaqueId"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 OpaqueId)) :*: (S1 ('MetaSel ('Just"stPostAreWeCaching"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool) :*: (S1 ('MetaSel ('Just"stPostPostponeInstanceSearch"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just"stPostConsideringInstance"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool)))) :*: ((S1 ('MetaSel ('Just"stPostInstantiateBlocking"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just"stPostLocalPartialDefs"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Set QName))) :*: (S1 ('MetaSel ('Just"stPostOpaqueBlocks"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map OpaqueId OpaqueBlock)) :*: (S1 ('MetaSel ('Just"stPostOpaqueIds"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map QName OpaqueId)) :*: S1 ('MetaSel ('Just"stPostInstanceHack"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool))))))))
Constructors
PreScopeStatestPreTokens :: !HighlightingInfoHighlighting info for tokens and Happy parser warnings (but not for those tokens/warnings for which highlighting exists in stPostSyntaxInfo).
stPreImports :: !SignatureImported declared identifiers. Those most not be serialized!
stPreImportedModules :: !ImportedModulesThe top-level modules imported by the current module.
stPreImportedModulesTransitive :: !ImportedModulesThe top-level modules transitively imported by the current module.
stPreModuleToSourceId :: !ModuleToSourceIdstPreVisitedModules :: !VisitedModulesModules loaded so far. In contrast stDecodedModules, contains also modules that are only scope-checked.
stPreScope :: !ScopeInfostPrePatternSyns :: !PatternSynDefnsPattern synonyms of the current file. Serialized.
stPrePatternSynImports :: !PatternSynDefnsImported pattern synonyms. Must not be serialized!
stPreGeneralizedVars :: !Maybe (Set QName)Collected variables we wish to generalize over; used during scope checking of terms. If Nothing, we are in a position where we do not support generalization, and do not accept additions to this collection.
stPrePragmaOptions :: !PragmaOptionsOptions applying to the current file.
OPTIONSpragmas only affect this field.stPreImportedBuiltins :: !BuiltinThingsstPreImportedDisplayForms :: !DisplayFormsDisplay forms added by someone else to imported identifiers
stPreFreshInteractionId :: !InteractionIdstPreImportedUserWarnings :: !UserWarningsImported
UserWarnings, not to be stored in theInterfacestPreLocalUserWarnings :: !UserWarningsLocally defined
UserWarnings, to be stored in theInterfacestPreWarningOnImport :: !Maybe TextWhether the current module should raise a warning when opened
stPreImportedPartialDefs :: !Set QNameImported partial definitions, not to be stored in the
InterfacestPreLibCache :: !LibCacheCached
.agda-libfiles.stPreImportedMetaStore :: !RemoteMetaStoreUsed for meta-variables from other modules.
stPreCopiedNames :: !HashMap QName QNameAssociates a copied name (the key) to its original name (the value). Computed by the scope checker, used to compute opaque blocks.
stPreNameCopies :: !HashMap QName (HashSet QName)Associates an original name (the key) to all its copies (the value). Computed by the scope checker, used to compute opaque blocks.
Instances4Generic, NFData, LensPragmaOptions, Rep
Generic PreScopeStateDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData PreScopeStateDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseThis instance could be optimised, some things are guaranteed to be forced.
LensPragmaOptions PreScopeStateDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Basetype Rep PreScopeState = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"PreScopeState"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"PreScopeState"
'PrefixI 'True) ((((S1 ('MetaSel ('Just"stPreTokens"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 HighlightingInfo) :*: S1 ('MetaSel ('Just"stPreImports"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Signature)) :*: (S1 ('MetaSel ('Just"stPreImportedModules"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ImportedModules) :*: (S1 ('MetaSel ('Just"stPreImportedModulesTransitive"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ImportedModules) :*: S1 ('MetaSel ('Just"stPreModuleToSourceId"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ModuleToSourceId)))) :*: ((S1 ('MetaSel ('Just"stPreVisitedModules"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 VisitedModules) :*: (S1 ('MetaSel ('Just"stPreScope"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ScopeInfo) :*: S1 ('MetaSel ('Just"stPrePatternSyns"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 PatternSynDefns))) :*: (S1 ('MetaSel ('Just"stPrePatternSynImports"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 PatternSynDefns) :*: (S1 ('MetaSel ('Just"stPreGeneralizedVars"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe (Set QName))) :*: S1 ('MetaSel ('Just"stPrePragmaOptions"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 PragmaOptions))))) :*: (((S1 ('MetaSel ('Just"stPreImportedBuiltins"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 BuiltinThings) :*: S1 ('MetaSel ('Just"stPreImportedDisplayForms"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 DisplayForms)) :*: (S1 ('MetaSel ('Just"stPreFreshInteractionId"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 InteractionId) :*: (S1 ('MetaSel ('Just"stPreImportedUserWarnings"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 UserWarnings) :*: S1 ('MetaSel ('Just"stPreLocalUserWarnings"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 UserWarnings)))) :*: ((S1 ('MetaSel ('Just"stPreWarningOnImport"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just"stPreImportedPartialDefs"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Set QName)) :*: S1 ('MetaSel ('Just"stPreLibCache"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 LibCache))) :*: (S1 ('MetaSel ('Just"stPreImportedMetaStore"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 RemoteMetaStore) :*: (S1 ('MetaSel ('Just"stPreCopiedNames"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (HashMap QName QName)) :*: S1 ('MetaSel ('Just"stPreNameCopies"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (HashMap QName (HashSet QName)))))))))
Constructors
PrimFunprimFunName :: QNameprimFunArity :: ArityprimFunArgOccurrences :: [Occurrence]See defArgOccurrences.
primFunImplementation :: [Arg Term] -> Int -> ReduceM (Reduced MaybeReducedArgs Term)
Instances6Generic, NFData, Apply, NamesIn, Abstract, Rep
Generic PrimFunDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData PrimFunDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseApply PrimFunDefined in Agda-2.8.0.2 · Agda.TypeChecking.Substitute · orphanNamesIn PrimFunDefined in Agda-2.8.0.2 · Agda.Syntax.Internal.NamesNote that the primFunImplementation is skipped.
Abstract PrimFunDefined in Agda-2.8.0.2 · Agda.TypeChecking.Substitute · orphantype Rep PrimFun = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"PrimFun"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"PrimFun"
'PrefixI 'True) ((S1 ('MetaSel ('Just"primFunName"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel ('Just"primFunArity"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Arity)) :*: (S1 ('MetaSel ('Just"primFunArgOccurrences"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Occurrence]) :*: S1 ('MetaSel ('Just"primFunImplementation"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ([Arg Term] -> Int -> ReduceM (Reduced MaybeReducedArgs Term))))))
Constructors
PrimitiveData_primAbstr :: IsAbstract_primName :: PrimitiveId_primClauses :: [Clause]null for primitive functions,
not nullfor builtin functions._primInv :: FunctionInverseBuiltin functions can have inverses. For instance, natural number addition.
_primCompiled :: Maybe CompiledClauses_primOpaque :: IsOpaquePrimitives can also live in opaque blocks.
Instances5Show, Generic, NFData, Pretty, Rep
Show PrimitiveDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric PrimitiveDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData PrimitiveDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePretty PrimitiveDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Basetype Rep PrimitiveData = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"PrimitiveData"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"PrimitiveData"
'PrefixI 'True) ((S1 ('MetaSel ('Just"_primAbstr"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 IsAbstract) :*: (S1 ('MetaSel ('Just"_primName"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PrimitiveId) :*: S1 ('MetaSel ('Just"_primClauses"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Clause]))) :*: (S1 ('MetaSel ('Just"_primInv"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FunctionInverse) :*: (S1 ('MetaSel ('Just"_primCompiled"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe CompiledClauses)) :*: S1 ('MetaSel ('Just"_primOpaque"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 IsOpaque)))))
Constructors
Instances5Show, Generic, NFData, Pretty, Rep
Show PrimitiveSortDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric PrimitiveSortDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData PrimitiveSortDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePretty PrimitiveSortDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Basetype Rep PrimitiveSortData = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"PrimitiveSortData"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"PrimitiveSortData"
'PrefixI 'True) (S1 ('MetaSel ('Just"_primSortName"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuiltinSort) :*: S1 ('MetaSel ('Just"_primSortSort"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Sort)))
Constructors
PrincipalArgTypeMetaspatmMetas :: Argsmetas created for hidden and instance arguments in the principal argument's type
patmRemainder :: Typeprincipal argument's type, stripped of hidden and instance arguments
Instances3Generic, NFData, Rep
Generic PrincipalArgTypeMetasDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData PrincipalArgTypeMetasDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Basetype Rep PrincipalArgTypeMetas = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"PrincipalArgTypeMetas"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"PrincipalArgTypeMetas"
'PrefixI 'True) (S1 ('MetaSel ('Just"patmMetas"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Args) :*: S1 ('MetaSel ('Just"patmRemainder"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type)))
Constructors
Instances12Show, Generic, NFData, HasRange, PrettyTCM, Reify, …
Show ProblemConstraintDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric ProblemConstraintDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData ProblemConstraintDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseHasRange ProblemConstraintDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePrettyTCM ProblemConstraintDefined in Agda-2.8.0.2 · Agda.TypeChecking.Pretty.Constraint · orphanReify ProblemConstraintDefined in Agda-2.8.0.2 · Agda.Interaction.BasicOps · orphanSimplify ProblemConstraintDefined in Agda-2.8.0.2 · Agda.TypeChecking.ReduceNormalise ProblemConstraintDefined in Agda-2.8.0.2 · Agda.TypeChecking.ReduceInstantiateFull ProblemConstraintDefined in Agda-2.8.0.2 · Agda.TypeChecking.ReduceMentionsMeta ProblemConstraintDefined in Agda-2.8.0.2 · Agda.TypeChecking.MetaVars.Mentiontype Rep ProblemConstraint = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"ProblemConstraint"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"PConstr"
'PrefixI 'True) (S1 ('MetaSel ('Just"constraintProblems"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set ProblemId)) :*: (S1 ('MetaSel ('Just"constraintUnblocker"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Blocker) :*: S1 ('MetaSel ('Just"theConstraint"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Closure Constraint)))))type ReifiesTo ProblemConstraint = Closure (OutputForm Expr Expr)Defined in Agda-2.8.0.2 · Agda.Interaction.BasicOps · orphan
Abstractions to build projection function (dropping parameters).
Constructors
Instances10Show, Generic, NFData, Pretty, Null, Apply, …
Show ProjLamsDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric ProjLamsDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData ProjLamsDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePretty ProjLamsDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNull ProjLamsDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseApply ProjLamsDefined in Agda-2.8.0.2 · Agda.TypeChecking.Substitute · orphanKillRange ProjLamsDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseAbstract ProjLamsDefined in Agda-2.8.0.2 · Agda.TypeChecking.Substitute · orphanEmbPrj ProjLamsDefined in Agda-2.8.0.2 · Agda.TypeChecking.Serialise.Instances.Internal · orphantype Rep ProjLams = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"ProjLams"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'True) (C1 ('MetaCons"ProjLams"
'PrefixI 'True) (S1 ('MetaSel ('Just"getProjLams"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Arg ArgName])))
Additional information for projection Functions.
Constructors
ProjectionprojProper :: Maybe QNameNothingif only projection-like,Just rif record projection. Theris the name of the record type projected from. This field is updated by module application.projOrig :: QNameThe original projection name (current name could be from module application).
projFromType :: Arg QNameType projected from. Original record type if
projProper = Just{}. Also storesArgInfoof the principal argument. This field is unchanged by module application.projIndex :: IntIndex of the record argument. Start counting with 1, because 0 means that it is already applied to the record value. This can happen in module instantiation, but then either the record value is
var 0, orfunProjection == Left _.projLams :: ProjLamsTerm
tto be be applied to record parameters and record value. The parameters will be dropped. In case of a proper projection, a postfix projection application will be created:t = pars r -> r .p(Invariant: the number of abstractions equals projIndex.) In case of a projection-like function, just the function symbol is returned as Def:t = pars -> f.
Instances9Show, Generic, NFData, Pretty, Apply, KillRange, …
Show ProjectionDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric ProjectionDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData ProjectionDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePretty ProjectionDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseApply ProjectionDefined in Agda-2.8.0.2 · Agda.TypeChecking.Substitute · orphanKillRange ProjectionDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseAbstract ProjectionDefined in Agda-2.8.0.2 · Agda.TypeChecking.Substitute · orphanEmbPrj ProjectionDefined in Agda-2.8.0.2 · Agda.TypeChecking.Serialise.Instances.Internal · orphantype Rep Projection = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"Projection"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"Projection"
'PrefixI 'True) ((S1 ('MetaSel ('Just"projProper"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe QName)) :*: S1 ('MetaSel ('Just"projOrig"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName)) :*: (S1 ('MetaSel ('Just"projFromType"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Arg QName)) :*: (S1 ('MetaSel ('Just"projIndex"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just"projLams"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ProjLams)))))
Indicates the reason behind a function having not been marked projection-like.
Constructors
MaybeProjectionProjection-likeness analysis has not run on this function yet. It may do so in the future.
NeverProjectionThe user has requested that this function be not be marked projection-like. The analysis may already have run on this function, but the results have been discarded, and it will not be run again.
Instances9Bounded, Enum, Show, Generic, NFData, Pretty, …
Bounded ProjectionLikenessMissingDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseEnum ProjectionLikenessMissingDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseShow ProjectionLikenessMissingDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric ProjectionLikenessMissingDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData ProjectionLikenessMissingDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePretty ProjectionLikenessMissingDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseKillRange ProjectionLikenessMissingDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseEmbPrj ProjectionLikenessMissingDefined in Agda-2.8.0.2 · Agda.TypeChecking.Serialise.Instances.Internal · orphantype Rep ProjectionLikenessMissing = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"ProjectionLikenessMissing"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"MaybeProjection"
'PrefixI 'False) U1 :+: C1 ('MetaCons"NeverProjection"
'PrefixI 'False) U1)
Methods
getTCState :: m TCStatelocallyTCState :: Lens' TCState a -> (a -> a) -> m b -> m bwithTCState :: (TCState -> TCState) -> m a -> m a
Instances19ReadTCState, …
ReadTCState ReplMDefined in Agda-2.8.0.2 · Agda.Interaction.CommandLineReadTCState IMDefined in Agda-2.8.0.2 · Agda.Interaction.MonadReadTCState TerMDefined in Agda-2.8.0.2 · Agda.Termination.MonadReadTCState ForcedVariableCollection'Defined in Agda-2.8.0.2 · Agda.TypeChecking.ForcingReadTCState ReduceMDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseReadTCState NLMDefined in Agda-2.8.0.2 · Agda.TypeChecking.Rewriting.NonLinMatchReadTCState m => ReadTCState (AbsToConT m)Defined in Agda-2.8.0.2 · Agda.Syntax.Translation.AbstractToConcreteReadTCState m => ReadTCState (PureConversionT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Conversion.PureReadTCState m => ReadTCState (BlockT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseReadTCState m => ReadTCState (NamesT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.NamesReadTCState m => ReadTCState (ListT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseReadTCState m => ReadTCState (ChangeT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseReadTCState m => ReadTCState (MaybeT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadIO m => ReadTCState (TCMT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseReadTCState m => ReadTCState (ExceptT err m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseReadTCState m => ReadTCState (IdentityT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseReadTCState m => ReadTCState (ReaderT r m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseReadTCState m => ReadTCState (StateT s m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base(Monoid w, ReadTCState m) => ReadTCState (WriterT w m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base
Constructors
RecordData_recPars :: NatNumber of parameters.
_recClause :: Maybe ClauseWas this record type created by a module application? If yes, the clause is its definition (linking back to the original record type).
_recConHead :: ConHeadConstructor name and fields.
_recNamedCon :: BoolDoes this record have a
constructor?_recFields :: [Dom QName]The record field names.
_recTel :: TelescopeThe record field telescope. (Includes record parameters.) Note:
TelV recTel _ == telView' recConType. Thus,recTelis redundant._recMutual :: Maybe [QName]Mutually recursive functions,
datas andrecords. Does include this record. Empty if not recursive.Nothingif not yet computed (by positivity checker)._recEtaEquality' :: EtaEqualityEta-expand at this record type?
Falsefor unguarded recursive records and coinductive records unless the user specifies otherwise._recPatternMatching :: PatternOrCopatternIn case eta-equality is off, do we allow pattern matching on the constructor or construction by copattern matching? Having both loses subject reduction, see issue #4560. After positivity checking, this field is obsolete, part of EtaEquality.
_recInduction :: Maybe InductionInductive or CoInductive? Matters only for recursive records. Nothing means that the user did not specify it, which is an error for recursive records.
_recTerminates :: Maybe Bool'Just True' means that unfolding of the recursive record terminates, 'Just False' means that we have no evidence for termination, and Nothing means we have not run the termination checker yet.
_recAbstr :: IsAbstract_recComp :: CompKit
Instances5Show, Generic, NFData, Pretty, Rep
Show RecordDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric RecordDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData RecordDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePretty RecordDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Basetype Rep RecordData = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"RecordData"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"RecordData"
'PrefixI 'True) (((S1 ('MetaSel ('Just"_recPars"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Nat) :*: (S1 ('MetaSel ('Just"_recClause"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Clause)) :*: S1 ('MetaSel ('Just"_recConHead"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ConHead))) :*: (S1 ('MetaSel ('Just"_recNamedCon"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just"_recFields"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Dom QName]) :*: S1 ('MetaSel ('Just"_recTel"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Telescope)))) :*: ((S1 ('MetaSel ('Just"_recMutual"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [QName])) :*: (S1 ('MetaSel ('Just"_recEtaEquality'"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 EtaEquality) :*: S1 ('MetaSel ('Just"_recPatternMatching"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PatternOrCopattern))) :*: ((S1 ('MetaSel ('Just"_recInduction"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Induction)) :*: S1 ('MetaSel ('Just"_recTerminates"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just"_recAbstr"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 IsAbstract) :*: S1 ('MetaSel ('Just"_recComp"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CompKit))))))
Constructors
Instances3Generic, NFData, Rep
Generic ReduceDefsDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData ReduceDefsDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Basetype Rep ReduceDefs = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"ReduceDefs"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"OnlyReduceDefs"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set QName))) :+: C1 ('MetaCons"DontReduceDefs"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set QName))))
Environment of the reduce monad.
Constructors
Instances14Monad, Functor, MonadFail, Applicative, HasOptions, MonadReduce, …
Monad ReduceMDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseFunctor ReduceMDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadFail ReduceMDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseApplicative ReduceMDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseHasOptions ReduceMDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadReduce ReduceMDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadTCEnv ReduceMDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseReadTCState ReduceMDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseHasBuiltins ReduceMDefined in Agda-2.8.0.2 · Agda.TypeChecking.Reduce.Monad · orphanMonadAddContext ReduceMDefined in Agda-2.8.0.2 · Agda.TypeChecking.Reduce.Monad · orphanMonadDebug ReduceMDefined in Agda-2.8.0.2 · Agda.TypeChecking.Reduce.Monad · orphanPureTCM ReduceMDefined in Agda-2.8.0.2 · Agda.TypeChecking.Reduce.Monad · orphanHasConstInfo ReduceMDefined in Agda-2.8.0.2 · Agda.TypeChecking.Reduce.Monad · orphan(Semigroup a, Monoid a) => Monoid (OccM a)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Positivity
Constructors
Used for meta-variables from other modules (and in Interfaces).
Information about remote meta-variables.
Remote meta-variables are meta-variables originating in other modules. These meta-variables are always instantiated. We do not retain all the information about a local meta-variable when creating an interface:
The mvPriority field is not needed, because the meta-variable cannot be instantiated.
The mvFrozen field is not needed, because there is no point in freezing instantiated meta-variables.
The mvListeners field is not needed, because no meta-variable should be listening to this one.
The mvTwin field is not needed, because the meta-variable has already been instantiated.
The mvPermutation is currently removed, but could be retained if it turns out to be useful for something.
The only part of the mvInfo field that is kept is the miModality field. The miMetaOccursCheck and miGeneralizable fields are omitted, because the meta-variable has already been instantiated. The Range that is part of the miClosRange field and the miNameSuggestion field are omitted because instantiated meta-variables are typically not presented to users. Finally the Closure part of the miClosRange field is omitted because it can be large (at least if we ignore potential sharing).
Constructors
Instances10Show, Generic, NFData, LensQuantity, LensRelevance, LensModalPolarity, …
Show RemoteMetaVariableDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric RemoteMetaVariableDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData RemoteMetaVariableDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseLensQuantity RemoteMetaVariableDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseLensRelevance RemoteMetaVariableDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseLensModalPolarity RemoteMetaVariableDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseLensModality RemoteMetaVariableDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseInstantiateFull RemoteMetaVariableDefined in Agda-2.8.0.2 · Agda.TypeChecking.ReduceEmbPrj RemoteMetaVariableDefined in Agda-2.8.0.2 · Agda.TypeChecking.Serialise.Instances.Internal · orphantype Rep RemoteMetaVariable = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"RemoteMetaVariable"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"RemoteMetaVariable"
'PrefixI 'True) (S1 ('MetaSel ('Just"rmvInstantiation"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Instantiation) :*: (S1 ('MetaSel ('Just"rmvModality"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Modality) :*: S1 ('MetaSel ('Just"rmvJudgement"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Judgement MetaId)))))
Rewrite rules can be added independently from function clauses.
Constructors
RewriteRulerewName :: QNameName of rewrite rule
q : Γ → f ps ≡ rhswhere≡is the rewrite relation.rewContext :: TelescopeΓ.rewHead :: QNamef.rewPats :: PElimsΓ ⊢ f ps : t.rewRHS :: TermΓ ⊢ rhs : t.rewType :: TypeΓ ⊢ t.rewFromClause :: BoolWas this rewrite rule created from a clause in the definition of the function?
rewTopModule :: TopLevelModuleNameIn which file is this rewrite rule defined? This information is used to eliminate rewrite rules that happen to be in stImports but are not actually transitively imported.
Instances15Show, Generic, NFData, Subst, PrettyTCM, Apply, …
Show RewriteRuleDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric RewriteRuleDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData RewriteRuleDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseSubst RewriteRuleDefined in Agda-2.8.0.2 · Agda.TypeChecking.Substitute · orphanPrettyTCM RewriteRuleDefined in Agda-2.8.0.2 · Agda.TypeChecking.PrettyApply RewriteRuleDefined in Agda-2.8.0.2 · Agda.TypeChecking.Substitute · orphanKillRange RewriteRuleDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseKillRange RewriteRuleMapDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNamesIn RewriteRuleDefined in Agda-2.8.0.2 · Agda.Syntax.Internal.NamesInstantiateFull RewriteRuleDefined in Agda-2.8.0.2 · Agda.TypeChecking.ReduceAbstract RewriteRuleDefined in Agda-2.8.0.2 · Agda.TypeChecking.Substitute · orphantel ⊢ (Γ ⊢ lhs ↦ rhs : t)becomestel, Γ ⊢ lhs ↦ rhs : t)we do not need to change lhs, rhs, and t since they live in Γ. See 'Abstract Clause'.GetMatchables RewriteRuleDefined in Agda-2.8.0.2 · Agda.TypeChecking.Rewriting.NonLinPatternEmbPrj RewriteRuleDefined in Agda-2.8.0.2 · Agda.TypeChecking.Serialise.Instances.Internal · orphantype Rep RewriteRule = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"RewriteRule"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"RewriteRule"
'PrefixI 'True) (((S1 ('MetaSel ('Just"rewName"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel ('Just"rewContext"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Telescope)) :*: (S1 ('MetaSel ('Just"rewHead"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel ('Just"rewPats"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PElims))) :*: ((S1 ('MetaSel ('Just"rewRHS"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: S1 ('MetaSel ('Just"rewType"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type)) :*: (S1 ('MetaSel ('Just"rewFromClause"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just"rewTopModule"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TopLevelModuleName)))))type SubstArg RewriteRule = NLPatDefined in Agda-2.8.0.2 · Agda.TypeChecking.Substitute · orphan
Instances6Eq, Ord, Show, Generic, NFData, Rep
Eq RunMetaOccursCheckDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseOrd RunMetaOccursCheckDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseShow RunMetaOccursCheckDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric RunMetaOccursCheckDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData RunMetaOccursCheckDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Basetype Rep RunMetaOccursCheck = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"RunMetaOccursCheck"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"RunMetaOccursCheck"
'PrefixI 'False) U1 :+: C1 ('MetaCons"DontRunMetaOccursCheck"
'PrefixI 'False) U1)
Constructors
Instances9Eq, Show, NFData, Pretty, KillRange, NamesIn, …
Eq SectionDefined in Agda-2.8.0.2 · Agda.TypeChecking.Substitute · orphanShow SectionDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData SectionDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePretty SectionDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseKillRange SectionDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseKillRange SectionsDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNamesIn SectionDefined in Agda-2.8.0.2 · Agda.Syntax.Internal.NamesInstantiateFull SectionDefined in Agda-2.8.0.2 · Agda.TypeChecking.ReduceEmbPrj SectionDefined in Agda-2.8.0.2 · Agda.TypeChecking.Serialise.Instances.Internal · orphan
A part of the state that grows monotonically over the whole Agda session. Never reset.
Constructors
SessionTCStatestSessionBenchmark :: !BenchmarkStructure to track how much CPU time was spent on which Agda phase. Needs to be a strict field to avoid space leaks!
stSessionBackends :: [Backend]Backends with their options.
stSessionFileDict :: !FileDictWithBuiltins
Instances3Generic, NFData, Rep
Generic SessionTCStateDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData SessionTCStateDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Basetype Rep SessionTCState = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"SessionTCState"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"SessionTCState"
'PrefixI 'True) (S1 ('MetaSel ('Just"stSessionBenchmark"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Benchmark) :*: (S1 ('MetaSel ('Just"stSessionBackends"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Backend]) :*: S1 ('MetaSel ('Just"stSessionFileDict"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 FileDictWithBuiltins))))
Constructors
Sig_sigSections :: Sections_sigDefinitions :: Definitions_sigRewriteRules :: RewriteRuleMapThe rewrite rules defined in this file.
_sigInstances :: InstanceTable
Instances8Show, Generic, NFData, Null, KillRange, InstantiateFull, …
Show SignatureDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric SignatureDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData SignatureDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNull SignatureDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseKillRange SignatureDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseInstantiateFull SignatureDefined in Agda-2.8.0.2 · Agda.TypeChecking.ReduceEmbPrj SignatureDefined in Agda-2.8.0.2 · Agda.TypeChecking.Serialise.Instances.Internal · orphantype Rep Signature = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"Signature"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"Sig"
'PrefixI 'True) ((S1 ('MetaSel ('Just"_sigSections"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Sections) :*: S1 ('MetaSel ('Just"_sigDefinitions"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Definitions)) :*: (S1 ('MetaSel ('Just"_sigRewriteRules"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 RewriteRuleMap) :*: S1 ('MetaSel ('Just"_sigInstances"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 InstanceTable))))
Did we encounter a simplifying reduction? In terms of CIC, that would be a iota-reduction. In terms of Agda, this is a constructor or literal pattern that matched. Just beta-reduction (substitution) or delta-reduction (unfolding of definitions) does not count as simplifying?
Instances8Eq, Show, Generic, Semigroup, Monoid, NFData, …
Eq SimplificationDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseShow SimplificationDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric SimplificationDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseSemigroup SimplificationDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonoid SimplificationDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData SimplificationDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNull SimplificationDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Basetype Rep Simplification = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"Simplification"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"YesSimplification"
'PrefixI 'False) U1 :+: C1 ('MetaCons"NoSimplification"
'PrefixI 'False) U1)
Error when splitting a pattern variable into possible constructor patterns.
Constructors
NotADatatype (Closure Type)Neither data type nor record.
BlockedType Blocker (Closure Type)Type could not be sufficiently reduced.
ErasedDatatype ErasedDatatypeReason (Closure Type)Data type, but in erased position.
CoinductiveDatatype (Closure Type)Split on codata not allowed. UNUSED, but keep! -- | NoRecordConstructor Type -- ^ record type, but no constructor
UnificationStuckcantSplitBlocker :: Maybe BlockerBlocking metavariable (if any)
cantSplitConName :: QNameConstructor.
cantSplitTel :: TelescopeContext for indices.
cantSplitConIdx :: ArgsInferred indices (from type of constructor).
cantSplitGivenIdx :: ArgsExpected indices (from checking pattern).
cantSplitFailures :: [UnificationFailure]Reason(s) why unification got stuck.
CosplitCatchallCopattern split with a catchall
CosplitNoTargetWe do not know the target type of the clause.
CosplitNoRecordType (Closure Type)Target type is not a record type.
CannotCreateMissingClause QName (Telescope, [NamedArg DeBruijnPattern]) Doc (Closure (Abs Type))GenericSplitError String
Instances5Show, Generic, NFData, PrettyTCM, Rep
Show SplitErrorDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric SplitErrorDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData SplitErrorDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePrettyTCM SplitErrorDefined in Agda-2.8.0.2 · Agda.TypeChecking.Errors · orphantype Rep SplitError = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"SplitError"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (((C1 ('MetaCons"NotADatatype"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Closure Type))) :+: C1 ('MetaCons"BlockedType"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Blocker) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Closure Type)))) :+: (C1 ('MetaCons"ErasedDatatype"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ErasedDatatypeReason) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Closure Type))) :+: (C1 ('MetaCons"CoinductiveDatatype"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Closure Type))) :+: C1 ('MetaCons"UnificationStuck"
'PrefixI 'True) ((S1 ('MetaSel ('Just"cantSplitBlocker"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Blocker)) :*: (S1 ('MetaSel ('Just"cantSplitConName"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel ('Just"cantSplitTel"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Telescope))) :*: (S1 ('MetaSel ('Just"cantSplitConIdx"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Args) :*: (S1 ('MetaSel ('Just"cantSplitGivenIdx"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Args) :*: S1 ('MetaSel ('Just"cantSplitFailures"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [UnificationFailure]))))))) :+: ((C1 ('MetaCons"CosplitCatchall"
'PrefixI 'False) U1 :+: C1 ('MetaCons"CosplitNoTarget"
'PrefixI 'False) U1) :+: (C1 ('MetaCons"CosplitNoRecordType"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Closure Type))) :+: (C1 ('MetaCons"CannotCreateMissingClause"
'PrefixI 'False) ((S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Telescope, [NamedArg DeBruijnPattern]))) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Doc) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Closure (Abs Type))))) :+: C1 ('MetaCons"GenericSplitError"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String))))))
An alternative representation of partial elements in a telescope: Γ ⊢ λ Δ. [φ₁ u₁, ... , φₙ uₙ] : Δ → PartialP (∨_ᵢ φᵢ) T see cubicaltt paper (however we do not store the type T).
Instances12Show, Generic, NFData, Apply, KillRange, NamesIn, …
Show SystemDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric SystemDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData SystemDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseApply SystemDefined in Agda-2.8.0.2 · Agda.TypeChecking.Substitute · orphanKillRange SystemDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNamesIn SystemDefined in Agda-2.8.0.2 · Agda.Syntax.Internal.NamesInstantiateFull SystemDefined in Agda-2.8.0.2 · Agda.TypeChecking.ReduceAbstract SystemDefined in Agda-2.8.0.2 · Agda.TypeChecking.Substitute · orphanEmbPrj SystemDefined in Agda-2.8.0.2 · Agda.TypeChecking.Serialise.Instances.Internal · orphanReify (QNamed System)Defined in Agda-2.8.0.2 · Agda.Syntax.Translation.InternalToAbstracttype Rep System = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"System"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"System"
'PrefixI 'True) (S1 ('MetaSel ('Just"systemTel"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Telescope) :*: S1 ('MetaSel ('Just"systemClauses"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [(Face, Term)])))type ReifiesTo (QNamed System) = [Clause]Defined in Agda-2.8.0.2 · Agda.Syntax.Translation.InternalToAbstract
Constructors
TCEnvenvContext :: ContextenvLetBindings :: LetBindingsenvCurrentModule :: ModuleNameenvCurrentPath :: Maybe FileIdThe path to the file that is currently being type-checked. Nothing if we do not have a file (like in interactive mode see
CommandLine).envAnonymousModules :: [(ModuleName, Nat)]anonymous modules and their number of free variables
envImportPath :: [TopLevelModuleName]The module stack with the entry being the top-level module as Agda chases modules. It will be empty if there is no main module, will have a single entry for the top level module, or more when descending past the main module. This is used to detect import cycles and in some cases highlighting behavior. The level of a given module is not necessarily the same as the length, in the module dependency graph, of the shortest path from the top-level module; it depends on in which order Agda chooses to chase dependencies.
envMutualBlock :: Maybe MutualIdthe current (if any) mutual block
envTerminationCheck :: TerminationCheck ()are we inside the scope of a termination pragma
envCoverageCheck :: CoverageCheckare we inside the scope of a coverage pragma
envMakeCase :: Boolare we inside a make-case (if so, ignore forcing analysis in unifier)
envSolvingConstraints :: BoolAre we currently in the process of solving active constraints?
envCheckingWhere :: WhereClause_Have we stepped into the where-declarations of a clause? Everything under a
wherewill be checked with this flag on.envWorkingOnTypes :: BoolAre we working on types? Turned on by
workOnTypes.envAssignMetas :: BoolAre we allowed to assign metas?
envActiveProblems :: Set ProblemIdenvUnquoteProblem :: Maybe ProblemIdIf inside a
runUnquoteMcall, stores the top-level problem id assigned to the invokation. We use this to decide which instance constraints originate from the current call and which come from the outside, for the purpose of asolveInstanceConstraintsinsidenoConstraintsonly failing for local instance constraints.envAbstractMode :: AbstractModeWhen checking the typesignature of a public definition or the body of a non-abstract definition this is true. To prevent information about abstract things leaking outside the module.
envRelevance :: RelevanceAre we checking an irrelevant argument? (=
Irrelevant) Then top-level irrelevant declarations are enabled. Other value:Relevant, then only relevant decls. are available.envQuantity :: QuantityAre we checking a runtime-irrelevant thing? (=Quantity0) Then runtime-irrelevant things are usable.
envHardCompileTimeMode :: BoolIs the "hard" compile-time mode enabled? In this mode the quantity component of the environment is always zero, and every new definition is treated as erased.
envSplitOnStrict :: BoolAre we currently case-splitting on a strict datatype (i.e. in SSet)? If yes, the pattern-matching unifier will solve reflexive equations even --without-K.
envDisplayFormsEnabled :: BoolSometimes we want to disable display forms.
envFoldLetBindings :: BoolFold let-bindings when printing terms (default: True)
envRange :: RangeenvHighlightingRange :: RangeInteractive highlighting uses this range rather than envRange.
envClause :: IPClauseWhat is the current clause we are type-checking? Will be recorded in interaction points in this clause.
envCall :: Maybe (Closure Call)what we're doing at the moment
envHighlightingLevel :: HighlightingLevelSet to None when imported modules are type-checked.
envHighlightingMethod :: HighlightingMethodenvExpandLast :: ExpandHiddenWhen type-checking an alias f=e, we do not want to insert hidden arguments in the end, because these will become unsolved metas.
envAppDef :: Maybe QNameWe are reducing an application of this function. (For tracking of incomplete matches.)
envSimplification :: SimplificationDid we encounter a simplification (proper match) during the current reduction process?
envAllowedReductions :: AllowedReductionsenvReduceDefs :: ReduceDefsenvReconstructed :: BoolenvInjectivityDepth :: IntInjectivity can cause non-termination for unsolvable contraints (#431, #3067). Keep a limit on the nesting depth of injectivity uses.
envCompareBlocked :: BoolWhen
True, the conversion checker will consider all term constructors as injective, including blocked function applications and metas. Warning: this should only be used when not assigning any metas (e.g. whenenvAssignMetasisFalseor when runningpureEqualTerms) or else we get non-unique meta solutions.envPrintDomainFreePi :: BoolWhen
True, types will be omitted from printed pi types if they can be inferred.envPrintMetasBare :: BoolWhen
True, throw away meta numbers and meta elims. This is used for reifying terms for feeding into the user's source code, e.g., for the interaction tacticssolveAll.envInsideDotPattern :: BoolUsed by the scope checker to make sure that certain forms of expressions are not used inside dot patterns: extended lambdas and let-expressions.
envUnquoteFlags :: UnquoteFlagsenvInstanceDepth :: !IntUntil we get a termination checker for instance search (#1743) we limit the search depth to ensure termination.
envIsDebugPrinting :: BoolenvPrintingPatternLambdas :: [QName]#3004: pattern lambdas with copatterns may refer to themselves. We don't have a good story for what to do in this case, but at least printing shouldn't loop. Here we keep track of which pattern lambdas we are currently in the process of printing.
envCallByNeed :: BoolUse call-by-need evaluation for reductions.
envCurrentCheckpoint :: CheckpointIdCheckpoints track the evolution of the context as we go under binders or refine it by pattern matching.
envCheckpoints :: Map CheckpointId SubstitutionKeeps the substitution from each previous checkpoint to the current context.
envGeneralizeMetas :: DoGeneralizeShould new metas generalized over.
envGeneralizedVars :: Map QName GeneralizedValueValues for used generalizable variables.
envActiveBackendName :: Maybe BackendNameIs some backend active at the moment, and if yes, which? NB: we only store the BackendName here, otherwise
instance Data TCEnvis not derivable. The actual backend can be obtained from the name via stBackends.envConflComputingOverlap :: BoolAre we currently computing the overlap between two rewrite rules for the purpose of confluence checking?
envCurrentlyElaborating :: BoolAre we currently in the process of executing an elaborate-and-give interactive command?
envSyntacticEqualityFuel :: !Maybe IntIf this counter is Nothing, then syntactic equality checking is unrestricted. If it is zero, then syntactic equality checking is not run at all. If it is a positive number, then syntactic equality checking is allowed to run, but the counter is decreased in the failure continuation of checkSyntacticEquality.
envCurrentOpaqueId :: !Maybe OpaqueIdUnique identifier of the opaque block we are currently under, if any. Used by the scope checker (to associate definitions to blocks), and by the type checker (for unfolding control).
envTermCheckReducing :: BoolAre we currently trying to reduce away function calls using non-recursive clauses during termination checking?
Instances6Generic, NFData, LensTCEnv, LensIsAbstract, LensIsOpaque, Rep
Generic TCEnvDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData TCEnvDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseLensTCEnv TCEnvDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseLensIsAbstract TCEnvDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseLensIsOpaque TCEnvDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Basetype Rep TCEnv = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"TCEnv"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"TCEnv"
'PrefixI 'True) (((((S1 ('MetaSel ('Just"envContext"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Context) :*: (S1 ('MetaSel ('Just"envLetBindings"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 LetBindings) :*: S1 ('MetaSel ('Just"envCurrentModule"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ModuleName))) :*: (S1 ('MetaSel ('Just"envCurrentPath"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe FileId)) :*: (S1 ('MetaSel ('Just"envAnonymousModules"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [(ModuleName, Nat)]) :*: S1 ('MetaSel ('Just"envImportPath"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TopLevelModuleName])))) :*: ((S1 ('MetaSel ('Just"envMutualBlock"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe MutualId)) :*: (S1 ('MetaSel ('Just"envTerminationCheck"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TerminationCheck ())) :*: S1 ('MetaSel ('Just"envCoverageCheck"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CoverageCheck))) :*: ((S1 ('MetaSel ('Just"envMakeCase"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just"envSolvingConstraints"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just"envCheckingWhere"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 WhereClause_) :*: S1 ('MetaSel ('Just"envWorkingOnTypes"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))))) :*: (((S1 ('MetaSel ('Just"envAssignMetas"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just"envActiveProblems"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set ProblemId)) :*: S1 ('MetaSel ('Just"envUnquoteProblem"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ProblemId)))) :*: ((S1 ('MetaSel ('Just"envAbstractMode"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AbstractMode) :*: S1 ('MetaSel ('Just"envRelevance"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Relevance)) :*: (S1 ('MetaSel ('Just"envQuantity"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Quantity) :*: S1 ('MetaSel ('Just"envHardCompileTimeMode"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))) :*: ((S1 ('MetaSel ('Just"envSplitOnStrict"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just"envDisplayFormsEnabled"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just"envFoldLetBindings"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))) :*: ((S1 ('MetaSel ('Just"envRange"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range) :*: S1 ('MetaSel ('Just"envHighlightingRange"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range)) :*: (S1 ('MetaSel ('Just"envClause"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 IPClause) :*: S1 ('MetaSel ('Just"envCall"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Closure Call)))))))) :*: ((((S1 ('MetaSel ('Just"envHighlightingLevel"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 HighlightingLevel) :*: (S1 ('MetaSel ('Just"envHighlightingMethod"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 HighlightingMethod) :*: S1 ('MetaSel ('Just"envExpandLast"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ExpandHidden))) :*: ((S1 ('MetaSel ('Just"envAppDef"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe QName)) :*: S1 ('MetaSel ('Just"envSimplification"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Simplification)) :*: (S1 ('MetaSel ('Just"envAllowedReductions"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AllowedReductions) :*: S1 ('MetaSel ('Just"envReduceDefs"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ReduceDefs)))) :*: ((S1 ('MetaSel ('Just"envReconstructed"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just"envInjectivityDepth"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just"envCompareBlocked"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))) :*: ((S1 ('MetaSel ('Just"envPrintDomainFreePi"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just"envPrintMetasBare"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just"envInsideDotPattern"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just"envUnquoteFlags"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UnquoteFlags))))) :*: (((S1 ('MetaSel ('Just"envInstanceDepth"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedUnpack) (Rec0 Int) :*: (S1 ('MetaSel ('Just"envIsDebugPrinting"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just"envPrintingPatternLambdas"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [QName]))) :*: ((S1 ('MetaSel ('Just"envCallByNeed"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just"envCurrentCheckpoint"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CheckpointId)) :*: (S1 ('MetaSel ('Just"envCheckpoints"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map CheckpointId Substitution)) :*: S1 ('MetaSel ('Just"envGeneralizeMetas"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DoGeneralize)))) :*: ((S1 ('MetaSel ('Just"envGeneralizedVars"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Map QName GeneralizedValue)) :*: (S1 ('MetaSel ('Just"envActiveBackendName"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe BackendName)) :*: S1 ('MetaSel ('Just"envConflComputingOverlap"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))) :*: ((S1 ('MetaSel ('Just"envCurrentlyElaborating"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just"envSyntacticEqualityFuel"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just"envCurrentOpaqueId"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe OpaqueId)) :*: S1 ('MetaSel ('Just"envTermCheckReducing"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))))))))
Type-checking errors.
Constructors
TypeErrortcErrLocation :: CallStackLocation in the internal Agda source code where the error was raised
tcErrState :: TCStateThe state in which the error was raised.
tcErrClosErr :: Closure TypeErrorThe environment in which the error as raised plus the error.
ParserError ParseErrorError raised by the Happy parser.
GenericException StringUnspecific error without Range.
IOException (Maybe TCState) Range IOExceptionThe first argument is the state in which the error was raised.
PatternErr BlockerThe exception which is usually caught. Raised for pattern violations during unification (
assignV) but also in other situations where we want to backtrack. Contains an unblocker to control when the computation should be retried.
Instances23Show, Exception, NFData, HasRange, MonadError, Pretty, …
Show TCErrDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseException TCErrDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData TCErrDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseHasRange TCErrDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePrettyTCM TCErrDefined in Agda-2.8.0.2 · Agda.TypeChecking.Errors · orphanEncodeTCM DisplayInfoDefined in Agda-2.8.0.2 · Agda.Interaction.JSONTop · orphanEncodeTCM Info_ErrorDefined in Agda-2.8.0.2 · Agda.Interaction.JSONTop · orphanEncodeTCM ResponseDefined in Agda-2.8.0.2 · Agda.Interaction.JSONTop · orphanEncodeTCM TCErrDefined in Agda-2.8.0.2 · Agda.Interaction.JSONTop · orphanMonadError TCErr ReplMDefined in Agda-2.8.0.2 · Agda.Interaction.CommandLineMonadError TCErr IMDefined in Agda-2.8.0.2 · Agda.Interaction.MonadMonadError TCErr TerMDefined in Agda-2.8.0.2 · Agda.Termination.MonadMonad m => MonadError TCErr (PureConversionT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Conversion.Pure(CatchIO m, MonadIO m) => MonadError TCErr (TCMT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base(Pretty a, Pretty b) => Pretty (OutputConstraint a b)Defined in Agda-2.8.0.2 · Agda.Interaction.BasicOps · orphan(Pretty a, Pretty b) => Pretty (OutputForm a b)Defined in Agda-2.8.0.2 · Agda.Interaction.BasicOps · orphanMonad m => MonadBlock (ExceptT TCErr m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base(Pretty a, Pretty b) => PrettyTCM (OutputForm a b)Defined in Agda-2.8.0.2 · Agda.Interaction.BasicOps · orphan(ToConcrete a, ToConcrete b) => ToConcrete (OutputConstraint a b)Defined in Agda-2.8.0.2 · Agda.Interaction.BasicOps · orphan(ToConcrete a, ToConcrete b) => ToConcrete (OutputForm a b)Defined in Agda-2.8.0.2 · Agda.Interaction.BasicOps · orphanEncodeTCM (OutputForm Expr Expr)Defined in Agda-2.8.0.2 · Agda.Interaction.JSONTop · orphantype ConOfAbs (OutputConstraint a b) = OutputConstraint (ConOfAbs a) (ConOfAbs b)Defined in Agda-2.8.0.2 · Agda.Interaction.BasicOps · orphantype ConOfAbs (OutputForm a b) = OutputForm (ConOfAbs a) (ConOfAbs b)Defined in Agda-2.8.0.2 · Agda.Interaction.BasicOps · orphan
Type checking monad.
Instances42MonadTrans, MonadBench, MonadBlock, MonadStConcreteNames, MonadConstraint, MonadAddContext, …
MonadTrans TCMTDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadBench TCMDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseWe store benchmark statistics in an IORef. This enables benchmarking pure computation, see Agda.Benchmarking.
MonadBlock TCMDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadStConcreteNames TCMDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadConstraint TCMDefined in Agda-2.8.0.2 · Agda.TypeChecking.Constraints · orphanMonadAddContext TCMDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.ContextMonadDebug TCMDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.DebugMonadInteractionPoints TCMDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.MetaVarsMonadMetaSolver TCMDefined in Agda-2.8.0.2 · Agda.TypeChecking.MetaVars · orphanPureTCM TCMDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.PureMonadStatistics TCMDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.StatisticsMonadTrace TCMDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.TraceMonadWarning TCMDefined in Agda-2.8.0.2 · Agda.TypeChecking.WarningsMonadFixityError ScopeMDefined in Agda-2.8.0.2 · Agda.Syntax.Scope.Monad · orphanCatchImpossible TCMDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseLike catchError, but resets the state completely before running the handler. This means it also loses changes to the stPersistentState.
The intended use is to catch internal errors during debug printing. In debug printing, we are not expecting state changes.
HasFresh i => MonadFresh i TCMDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base(CatchIO m, MonadIO m) => MonadError TCErr (TCMT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonad m => Monad (TCMT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseFunctor m => Functor (TCMT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base(CatchIO m, MonadIO m) => MonadFail (TCMT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseApplicative m => Applicative (TCMT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseSemigroup (TCM Doc)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Pretty · orphanThis instance is more specific than a generic instance
Semigroup a => Semigroup (TCM a).MonadIO m => MonadIO (TCMT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadIO m => HasOptions (TCMT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadIO m => MonadReduce (TCMT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadIO m => MonadTCEnv (TCMT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadIO m => MonadTCM (TCMT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadIO m => MonadTCState (TCMT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadIO m => ReadTCState (TCMT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseMonadIO m => HasBuiltins (TCMT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BuiltinReportS (TCM Doc)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.DebugReportS [TCM Doc]Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.DebugTraceS (TCM Doc)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.DebugTraceS [TCM Doc]Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.DebugHasConstInfo (TCMT IO)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.SignatureMonadIO m => MonadFileId (TCMT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.State · orphanNull (TCM Doc)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base(IsString a, MonadIO m) => IsString (TCMT m a)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base(MonadIO m, Semigroup a) => Semigroup (TCMT m a)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base(MonadIO m, Semigroup a, Monoid a) => Monoid (TCMT m a)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseStrict (non-shortcut) monoid.
(MonadIO m, Null a) => Null (TCMT m a)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Basetype BenchPhase TCM = PhaseDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base
Constructors
TCStstPersistentState :: !PersistentTCStateState which persists while we build an Agda project (same main file).
stPreScopeState :: !PreScopeStateThe state which is frozen after scope checking.
stPostScopeState :: !PostScopeStateThe state which is modified after scope checking.
Instances10Show, Generic, NFData, LensPragmaOptions, LensCommandLineOptions, LensIncludePaths, …
Show TCStateDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric TCStateDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData TCStateDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseLensPragmaOptions TCStateDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseLensCommandLineOptions TCStateDefined in Agda-2.8.0.2 · Agda.Interaction.Options.LensesLensIncludePaths TCStateDefined in Agda-2.8.0.2 · Agda.Interaction.Options.LensesLensPersistentVerbosity TCStateDefined in Agda-2.8.0.2 · Agda.Interaction.Options.LensesLensSafeMode TCStateDefined in Agda-2.8.0.2 · Agda.Interaction.Options.LensesLensVerbosity TCStateDefined in Agda-2.8.0.2 · Agda.Interaction.Options.Lensestype Rep TCState = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"TCState"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"TCSt"
'PrefixI 'True) (S1 ('MetaSel ('Just"stPersistentState"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 PersistentTCState) :*: (S1 ('MetaSel ('Just"stPreScopeState"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 PreScopeState) :*: S1 ('MetaSel ('Just"stPostScopeState"
) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 PostScopeState))))
Constructors
TCWarningtcWarningLocation :: CallStackLocation in the internal Agda source code location where the error raised
tcWarningRange :: RangeRange where the warning was raised
tcWarning :: WarningThe warning itself
tcWarningDoc :: DocThe warning printed in the state and environment where it was raised
tcWarningString :: StringCaches
render tcWarningDocfor the sake of an Ord instance.tcWarningCached :: BoolShould the warning be affected by caching.
Instances13Eq, Ord, Show, Generic, NFData, HasRange, …
Eq TCWarningDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseOrd TCWarningDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseShow TCWarningDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric TCWarningDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData TCWarningDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseHasRange TCWarningDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePrettyTCM TCWarningDefined in Agda-2.8.0.2 · Agda.TypeChecking.Pretty.Warning · orphanEncodeTCM DisplayInfoDefined in Agda-2.8.0.2 · Agda.Interaction.JSONTop · orphanEncodeTCM Info_ErrorDefined in Agda-2.8.0.2 · Agda.Interaction.JSONTop · orphanEncodeTCM ResponseDefined in Agda-2.8.0.2 · Agda.Interaction.JSONTop · orphanEncodeTCM TCWarningDefined in Agda-2.8.0.2 · Agda.Interaction.JSONTop · orphanEmbPrj TCWarningDefined in Agda-2.8.0.2 · Agda.TypeChecking.Serialise.Instances.Errors · orphantype Rep TCWarning = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"TCWarning"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"TCWarning"
'PrefixI 'True) ((S1 ('MetaSel ('Just"tcWarningLocation"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CallStack) :*: (S1 ('MetaSel ('Just"tcWarningRange"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range) :*: S1 ('MetaSel ('Just"tcWarning"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Warning))) :*: (S1 ('MetaSel ('Just"tcWarningDoc"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Doc) :*: (S1 ('MetaSel ('Just"tcWarningString"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel ('Just"tcWarningCached"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))))
When typechecking something of the following form:
instance x : _ x = y
it's not yet known where to add x, so we add it to a list of
unresolved instances and we'll deal with it later.
Instances9Eq, Ord, Show, Generic, NFData, Pretty, …
Eq TermHeadDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseOrd TermHeadDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseShow TermHeadDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric TermHeadDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData TermHeadDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePretty TermHeadDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseKillRange TermHeadDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseEmbPrj TermHeadDefined in Agda-2.8.0.2 · Agda.TypeChecking.Serialise.Instances.Internal · orphantype Rep TermHead = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"TermHead"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) ((C1 ('MetaCons"SortHead"
'PrefixI 'False) U1 :+: C1 ('MetaCons"PiHead"
'PrefixI 'False) U1) :+: (C1 ('MetaCons"ConsHead"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName)) :+: (C1 ('MetaCons"VarHead"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Nat)) :+: C1 ('MetaCons"UnknownHead"
'PrefixI 'False) U1)))
Information about a mutual block which did not pass the termination checker.
Constructors
TerminationErrortermErrFunctions :: [QName]The functions which failed to check. (May not include automatically generated functions.)
termErrCalls :: [CallInfo]The problematic call sites.
termErrGuardednessHelps :: GuardednessHelpsIs the termination error resolved by activating
--guardedness?
Instances4Show, Generic, NFData, Rep
Show TerminationErrorDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric TerminationErrorDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData TerminationErrorDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Basetype Rep TerminationError = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"TerminationError"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"TerminationError"
'PrefixI 'True) (S1 ('MetaSel ('Just"termErrFunctions"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [QName]) :*: (S1 ('MetaSel ('Just"termErrCalls"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [CallInfo]) :*: S1 ('MetaSel ('Just"termErrGuardednessHelps"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 GuardednessHelps))))
A complete log for a module will look like this:
EnterSection, entering the main module.
Decl/EnterSection/LeaveSection, for declarations and nested modules
LeaveSection, leaving the main module.
Constructors
EnterSection !Erased !ModuleName !TelescopeLeaveSection !ModuleNameDecl !DeclarationNever a Section or ScopeDecl
Pragmas !PragmaOptions
Instances3Generic, NFData, Rep
Generic TypeCheckActionDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData TypeCheckActionDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Basetype Rep TypeCheckAction = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"TypeCheckAction"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) ((C1 ('MetaCons"EnterSection"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Erased) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ModuleName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Telescope))) :+: C1 ('MetaCons"LeaveSection"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ModuleName))) :+: (C1 ('MetaCons"Decl"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Declaration)) :+: C1 ('MetaCons"Pragmas"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 PragmaOptions))))
Constructors
CheckExpr Comparison Expr TypeCheckArgs Comparison ExpandHidden Expr [NamedArg Expr] Type Type (ArgsCheckState CheckedTarget -> TCM Term)CheckProjAppToKnownPrincipalArg Comparison Expr ProjOrigin (List1 QName) Expr Args Type Int Term Type PrincipalArgTypeMetasCheckLambda Comparison (Arg (List1 (WithHiding Name), Maybe Type)) Expr TypeDisambiguateConstructor ConstructorDisambiguationData (ConHead -> TCM Term)A stuck constructor disambiguation with the bits to retry it on and the success continuation.
DoQuoteTerm Comparison Term TypeQuote the given term and check type against Term
Instances4Generic, NFData, PrettyTCM, Rep
Generic TypeCheckingProblemDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData TypeCheckingProblemDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePrettyTCM TypeCheckingProblemDefined in Agda-2.8.0.2 · Agda.TypeChecking.Prettytype Rep TypeCheckingProblem = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"TypeCheckingProblem"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) ((C1 ('MetaCons"CheckExpr"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Comparison) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type))) :+: (C1 ('MetaCons"CheckArgs"
'PrefixI 'False) ((S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Comparison) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ExpandHidden) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr))) :*: ((S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [NamedArg Expr]) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type)) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (ArgsCheckState CheckedTarget -> TCM Term))))) :+: C1 ('MetaCons"CheckProjAppToKnownPrincipalArg"
'PrefixI 'False) (((S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Comparison) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr)) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ProjOrigin) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (List1 QName)) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr)))) :*: ((S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Args) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PrincipalArgTypeMetas))))))) :+: (C1 ('MetaCons"CheckLambda"
'PrefixI 'False) ((S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Comparison) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Arg (List1 (WithHiding Name), Maybe Type)))) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type))) :+: (C1 ('MetaCons"DisambiguateConstructor"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ConstructorDisambiguationData) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (ConHead -> TCM Term))) :+: C1 ('MetaCons"DoQuoteTerm"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Comparison) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type))))))
Constructors
InternalError StringNotImplemented StringNotSupported StringCompilationError StringSyntaxError StringEssential syntax error thrown after successful parsing. Description in String.
OptionError OptionErrorError thrown by the option parser.
NicifierError DeclarationException'Error thrown in the nicifier phase
Agda.Syntax.Concrete.Definitions.DoNotationError StringError during unsugaring some
donotation. Error message in String.IdiomBracketError StringError during (operator) parsing and interpreting the contents of idiom brackets. Error message in String.
NoKnownRecordWithSuchFields [Name]The user has given a record expression with the given fields, but no record type known to type inference has all these fields. The list can be empty.
ShouldEndInApplicationOfTheDatatype TypeThe target of a constructor isn't an application of its datatype. The Type records what it does target.
ConstructorPatternInWrongDatatype QName QNameconstructor, datatype
CantResolveOverloadedConstructorsTargetingSameDatatype QName (List1 QName)Datatype, constructors.
ConstructorDoesNotTargetGivenType QName Typeconstructor, type
InvalidDottedExpression.ein non-argument position.LiteralTooBigAn integer literal that would be too costly to expand to unary.
NegativeLiteralInPatternNegative literals are not supported in patterns.
WrongHidingInLHSThe left hand side of a function definition has a hidden argument where a non-hidden was expected.
WrongHidingInLambda TypeExpected a non-hidden function and found a hidden lambda.
WrongHidingInApplication TypeA function is applied to a hidden argument where a non-hidden was expected.
WrongHidingInProjection QNameIllegalHidingInPostfixProjection (NamedArg Expr)WrongNamedArgument (NamedArg Expr) (List1 NamedName)A function is applied to a hidden named argument it does not have. The list contains names of possible hidden arguments at this point.
WrongAnnotationInLambdaWrong user-given (lock/tick) annotation in lambda.
WrongIrrelevanceInLambdaWrong user-given relevance annotation in lambda.
WrongQuantityInLambdaWrong user-given quantity annotation in lambda.
WrongCohesionInLambdaWrong user-given cohesion annotation in lambda.
WrongPolarityInLambdaWrong user-given polarity annotation in lambda.
QuantityMismatch Quantity QuantityThe given quantity does not correspond to the expected quantity.
HidingMismatch Hiding HidingThe given hiding does not correspond to the expected hiding.
RelevanceMismatch Relevance RelevanceThe given relevance does not correspond to the expected relevance.
ForcedConstructorNotInstantiated PatternIllformedProjectionPatternAbstract PatternIllformedProjectionPatternConcrete PatternCannotEliminateWithPattern (Maybe Blocker) (NamedArg Pattern) TypeCannotEliminateWithProjection (Arg Type) Bool QNameWrongNumberOfConstructorArguments QName Nat NatShouldBeEmpty Type [DeBruijnPattern]Type should be empty. The list gives possible patterns that match, but can be empty.
ShouldBeASort TypeThe given type should have been a sort.
ShouldBePi TypeThe given type should have been a pi.
ShouldBePath TypeShouldBeRecordType TypeShouldBeRecordPattern DeBruijnPatternCannotApply Expr TypeThe given expression is used as a function but its type is not a function type.
InvalidTypeSort SortThis sort is not a type expression.
SplitOnCoinductiveSplitOnIrrelevant (Dom Type)SplitOnUnusableCohesion (Dom Type)SplitOnUnusablePolarity (Dom Type)SplitOnNonVariable Term TypeSplitOnNonEtaRecord QNameSplitOnAbstract QNameSplitOnUnchecked QNameSplitOnPartial (Dom Type)SplitInProp DataOrRecordEDefinitionIsIrrelevant QNameDefinitionIsErased QNameProjectionIsIrrelevant QNameVariableIsIrrelevant NameVariableIsErased NameVariableIsOfUnusableCohesion Name CohesionLambdaIsErasedRecordIsErasedInvalidModalTelescopeUse Term Modality Modality DefinitionVariableIsOfUnusablePolarity Name PolarityModalityUnequalLevel Comparison Level LevelUnequalTerms Comparison Term Term CompareAsUnequalRelevance Comparison Term TermThe two function types have different relevance.
UnequalQuantity Comparison Term TermThe two function types have different relevance.
UnequalCohesion Comparison Term TermThe two function types have different cohesion.
UnequalPolarity Comparison Term TermThe two function types have different polarity.
UnequalFiniteness Comparison Term TermOne of the function types has a finite domain (i.e. is a
Partial@) and the other isonot.UnequalHiding Term TermThe two function types have different hiding.
UnequalSorts Sort SortNotLeqSort Sort SortMetaCannotDependOn MetaId Term NatThe arguments are the meta variable, the proposed solution, and the parameter that it wants to depend on.
MetaIrrelevantSolution MetaId TermMetaErasedSolution MetaId TermGenericError StringGenericDocError DocSortOfSplitVarError (Maybe Blocker) Docthe meta is what we might be blocked on.
WrongSharpArity QNameBuiltinMustBeConstructor BuiltinId ExprBuiltinMustBeData BuiltinId IntBuiltinMustBeDef BuiltinIdBuiltinMustBeFunction BuiltinIdBuiltinMustBePostulate BuiltinIdNoSuchBuiltinName StringInvalidBuiltin StringDuplicateBuiltinBinding BuiltinId Term TermNoBindingForBuiltin BuiltinIdNoBindingForPrimitive PrimitiveIdNoSuchPrimitiveFunction StringDuplicatePrimitiveBinding PrimitiveId QName QNameWrongArgInfoForPrimitive PrimitiveId ArgInfo ArgInfoShadowedModule Name (List1 ModuleName)BuiltinInParameterisedModule BuiltinIdIllegalDeclarationInDataDefinition (List1 Declaration)The declaration list comes from a single
C.NiceDeclaration.IllegalLetInTelescope TypedBindingIllegalPatternInTelescope BinderAbsentRHSRequiresAbsurdPatternTooManyFields QName [Name] (List1 Name)Record type, fields not supplied by user, possibly non-fields but supplied.
DuplicateFields (List1 Name)DuplicateConstructors (List1 Name)DuplicateOverlapPragma QName OverlapMode OverlapModeWithOnFreeVariable Expr TermUnexpectedWithPatterns (List1 Pattern)WithClausePatternMismatch Pattern (NamedArg DeBruijnPattern)IllTypedPatternAfterWithAbstraction PatternTooFewPatternsInWithClauseTooManyPatternsInWithClausePathAbstractionFailed (Abs Type)FieldOutsideRecordModuleArityMismatch ModuleName Telescope (Either (List1 (NamedArg Expr)) Args)GeneralizeCyclicDependencyReferencesFutureVariables Term (List1 Int) (Arg Term) IntThe first term references the given list of variables, which are in "the future" with respect to the given lock (and its leftmost variable)
DoesNotMentionTicks Term Type (Arg Term)Arguments: later term, its type, lock term. The lock term does not mention any @lock variables.
MismatchedProjectionsError QName QNameAttributeKindNotEnabled String String StringInvalidProjectionParameter (NamedArg Expr)TacticAttributeNotAllowedCannotRewriteByNonEquation TypeMacroResultTypeMismatch TypeNamedWhereModuleInRefinedContext [Term] [String]The lists should have the same length. TODO: enforce this by construction.
ComatchingDisabledForRecord QNameIncorrectTypeForRewriteRelation Term IncorrectTypeForRewriteRelationReasonCannotGenerateHCompClause TypeCannot generate
hcompclause because type is not fibrant.CannotGenerateTransportClause QName (Closure (Abs Type))Cannot generate transport clause because type is not fibrant.
CubicalNotErasure QNameName was defined for
--cubicaland for use in--erased-cubicalthe option--erasureis needed.CubicalPrimitiveNotFullyApplied QNameExpectedIntervalLiteral ExprExpected an interval literal (0 or 1) but found Expr.
FaceConstraintDisjunctionFaceConstraintUnsatisfiablePatternInPathLambdaAttempt to pattern match in an abstraction of interval type.
PatternInSystemAttempt to pattern or copattern match in a system. Data errors
UnexpectedParameter LamBindingNoParameterOfName ArgNameUnexpectedModalityAnnotationInParameter LamBindingExpectedBindingForParameter (Dom Type) (Abs Type)UnexpectedTypeSignatureForParameter (List1 (NamedArg Binder))SortDoesNotAdmitDataDefinitions QName SortSortCannotDependOnItsIndex QName TypeUnusableAtModality WhyCheckModality Modality TermSplitError SplitErrorImpossibleConstructor QName NegativeUnificationDatatypeIndexPolarityAn index of a data type has a polarity different from Mixed.
RecursiveRecordNeedsInductivity QNameA record type inferred as recursive needs a manual declaration whether it should be inductively or coinductively.
CannotSolveSizeConstraints (List1 (ProblemConstraint, HypSizeConstraint)) DocThe list of constraints is given redundantly as pairs of ProblemConstraint (original constraint) and HypSizeConstraint (form with size assumptions in context spelled out). The Doc is some extra reason for why solving failed.
ContradictorySizeConstraint (ProblemConstraint, HypSizeConstraint)EmptyTypeOfSizes TermThis type, representing a type of sizes, might be empty.
FunctionTypeInSizeUniv TermThis term, a function type constructor, lives in
SizeUniv, which is not allowed.PostulatedSizeInModuleLibraryError LibErrorsCollected errors when processing the
.agda-libfile.LibTooFarDown TopLevelModuleName AgdaLibFileThe
.agda-libfile for the given module is not on the right level.SolvedButOpenHolesSome interaction points (holes) have not been filled by user. There are not
UnsolvedMetassince unification solved them. This is an error, since interaction points are never filled without user interaction.CyclicModuleDependency (List2 TopLevelModuleName)The cycle starts and ends with the same module.
FileNotFound TopLevelModuleName [AbsolutePath]The list can be empty.
OverlappingProjects AbsolutePath TopLevelModuleName TopLevelModuleNameAmbiguousTopLevelModuleName TopLevelModuleName (List2 AbsolutePath)The given module has at least 2 file locations.
ModuleNameUnexpected TopLevelModuleName TopLevelModuleNameFound module name, expected module name.
ModuleNameDoesntMatchFileName TopLevelModuleName [AbsolutePath]The list can be empty.
ModuleDefinedInOtherFile TopLevelModuleName AbsolutePath AbsolutePathModule name, file from which it was loaded, file which the include path says contains the module.
InvalidFileName AbsolutePath InvalidFileNameReasonThe file name does not correspond to a module name.
ModuleNameHashCollision RawTopLevelModuleName (Maybe RawTopLevelModuleName)BothWithAndRHSAbstractConstructorNotInScope QNameCopatternHeadNotProjection QNameNotAllowedInDotPatterns NotAllowedInDotPatternsNotInScope QNameNoSuchModule QNameAmbiguousName QName AmbiguousNameReasonAmbiguousModule QName (List1 ModuleName)AmbiguousField Name (List2 ModuleName)AmbiguousConstructor QName (List2 QName)The list contains all interpretations of the name.
ClashingDefinition QName QName (Maybe NiceDeclaration)ClashingModule ModuleName ModuleNameDefinitionInDifferentModule QNameThe given data/record definition rests in a different module than its signature.
DuplicateImports QName (List1 ImportedName)InvalidPattern PatternInvalidPun ConstructorOrPatternSynonym QNameExpected the identifier to be a variable, not a constructor or pattern synonym.
RepeatedNamesInImportDirective (List1 (List2 ImportedName))Some names are bound several times by an
import/opendirective.RepeatedVariablesInPattern (List1 Name)GeneralizeNotSupportedHere QNameGeneralizedVarInLetOpenedModule QNameMultipleFixityDecls (List1 (Name, Pair Fixity'))MultiplePolarityPragmas (List1 Name)ExplicitPolarityVsPragma QNameConstructorNameOfNonRecord ResolvedNameCannotQuote CannotQuoteCannotQuoteTerm CannotQuoteTermDeclarationsAfterTopLevelModuleIllegalDeclarationBeforeTopLevelModuleMissingTypeSignature MissingTypeSignatureInfoNotAnExpression ExprNotAValidLetBinding (Maybe NotAValidLetBinding)NotAValidLetExpression NotAValidLetExpressionNotValidBeforeField NiceDeclarationPrivateRecordFieldQualifiedLocalModuleAsPatternInPatternSynonymDotPatternInPatternSynonymBadArgumentsToPatternSynonym AmbiguousQNameTooFewArgumentsToPatternSynonym AmbiguousQNameCannotResolveAmbiguousPatternSynonym (List1 (QName, PatternSynDefn))IllegalInstanceVariableInPatternSynonym NameThis variable is bound in the lhs of the pattern synonym in instance position, but not on the rhs. This is forbidden because expansion of pattern synonyms would not be faithful to availability of instances in instance search.
PatternSynonymArgumentShadows ConstructorOrPatternSynonym Name (List1 AbstractName)A variable to be bound in the pattern synonym resolved on the rhs as name of a constructor or a pattern synonym. The resolvents are given in the list.
UnusedVariableInPatternSynonym NameThis variable is only bound on the lhs of the pattern synonym, not on the rhs.
UnboundVariablesInPatternSynonym (List1 Name)These variables are only bound on the rhs of the pattern synonym, not on the lhs. Operator errors
NoParseForApplication (List2 Expr)AmbiguousParseForApplication (List2 Expr) (List1 Expr)NoParseForLHS LHSOrPatSyn [Pattern] PatternThe list contains patterns that failed to be interpreted. If it is non-empty, the first entry could be printed as error hint.
AmbiguousParseForLHS LHSOrPatSyn Pattern (List2 Pattern)Pattern and its possible interpretations.
AmbiguousProjection QName (List1 QName)The list contains alternative interpretations of the name.
AmbiguousOverloadedProjection (List1 QName) DocOperatorInformation [NotationSection] TypeErrorThe list of notations can be empty.
InstanceNoCandidate Type [(Term, TCErr)]The list can be empty. Reflection errors
ExecError ExecErrorUnquoteFailed UnquoteErrorDeBruijnIndexOutOfScope Nat Telescope [Name]The list can be empty. Language option errors
NeedOptionAllowExecNeedOptionCopatternsNeedOptionCubical Cubical StringFlavor of cubical needed for the given reason.
NeedOptionPatternMatchingNeedOptionPropNeedOptionRewritingNeedOptionSizedTypes StringNeed
--sized-typesfor the given reason.NeedOptionTwoLevelNeedOptionUniversePolymorphismNonFatalErrors (Set1 TCWarning)InstanceSearchDepthExhausted Term Type IntTriedToCopyConstrainedPrim QNameInvalidInstanceHeadType Type WhyInvalidInstanceTypeInteractionError InteractionErrorBackendDoesNotSupportOnlyScopeChecking BackendNameThe given backend does not support
--only-scope-checking.CubicalCompilationNotSupported CubicalNYI: Compilation of files using the given flavor of Cubical.
CustomBackendError BackendName DocUsed for backend-specific errors. The string is the backend name.
GHCBackendError GHCBackendErrorErrors raised by the GHC backend.
JSBackendError JSBackendErrorErrors raised by the JS backend.
UnknownBackend BackendName (Set BackendName)Unknown backend requested, known ones are in the Set.
Instances5Show, Generic, NFData, PrettyTCM, Rep
Show TypeErrorDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric TypeErrorDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData TypeErrorDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePrettyTCM TypeErrorDefined in Agda-2.8.0.2 · Agda.TypeChecking.Errors · orphantype Rep TypeError = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"TypeError"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (((((((C1 ('MetaCons"InternalError"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)) :+: (C1 ('MetaCons"NotImplemented"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)) :+: C1 ('MetaCons"NotSupported"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)))) :+: ((C1 ('MetaCons"CompilationError"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)) :+: C1 ('MetaCons"SyntaxError"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String))) :+: (C1 ('MetaCons"OptionError"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OptionError)) :+: C1 ('MetaCons"NicifierError"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DeclarationException'))))) :+: ((C1 ('MetaCons"DoNotationError"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)) :+: (C1 ('MetaCons"IdiomBracketError"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)) :+: C1 ('MetaCons"NoKnownRecordWithSuchFields"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Name])))) :+: ((C1 ('MetaCons"ShouldEndInApplicationOfTheDatatype"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type)) :+: C1 ('MetaCons"ConstructorPatternInWrongDatatype"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName))) :+: (C1 ('MetaCons"CantResolveOverloadedConstructorsTargetingSameDatatype"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (List1 QName))) :+: C1 ('MetaCons"ConstructorDoesNotTargetGivenType"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type)))))) :+: (((C1 ('MetaCons"InvalidDottedExpression"
'PrefixI 'False) U1 :+: (C1 ('MetaCons"LiteralTooBig"
'PrefixI 'False) U1 :+: C1 ('MetaCons"NegativeLiteralInPattern"
'PrefixI 'False) U1)) :+: ((C1 ('MetaCons"WrongHidingInLHS"
'PrefixI 'False) U1 :+: C1 ('MetaCons"WrongHidingInLambda"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type))) :+: (C1 ('MetaCons"WrongHidingInApplication"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type)) :+: C1 ('MetaCons"WrongHidingInProjection"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName))))) :+: (((C1 ('MetaCons"IllegalHidingInPostfixProjection"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NamedArg Expr))) :+: C1 ('MetaCons"WrongNamedArgument"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NamedArg Expr)) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (List1 NamedName)))) :+: (C1 ('MetaCons"WrongAnnotationInLambda"
'PrefixI 'False) U1 :+: C1 ('MetaCons"WrongIrrelevanceInLambda"
'PrefixI 'False) U1)) :+: ((C1 ('MetaCons"WrongQuantityInLambda"
'PrefixI 'False) U1 :+: C1 ('MetaCons"WrongCohesionInLambda"
'PrefixI 'False) U1) :+: (C1 ('MetaCons"WrongPolarityInLambda"
'PrefixI 'False) U1 :+: C1 ('MetaCons"QuantityMismatch"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Quantity) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Quantity))))))) :+: ((((C1 ('MetaCons"HidingMismatch"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Hiding) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Hiding)) :+: (C1 ('MetaCons"RelevanceMismatch"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Relevance) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Relevance)) :+: C1 ('MetaCons"ForcedConstructorNotInstantiated"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Pattern)))) :+: ((C1 ('MetaCons"IllformedProjectionPatternAbstract"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Pattern)) :+: C1 ('MetaCons"IllformedProjectionPatternConcrete"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Pattern))) :+: (C1 ('MetaCons"CannotEliminateWithPattern"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Blocker)) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NamedArg Pattern)) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type))) :+: C1 ('MetaCons"CannotEliminateWithProjection"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Arg Type)) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName)))))) :+: (((C1 ('MetaCons"WrongNumberOfConstructorArguments"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Nat) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Nat))) :+: C1 ('MetaCons"ShouldBeEmpty"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [DeBruijnPattern]))) :+: (C1 ('MetaCons"ShouldBeASort"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type)) :+: C1 ('MetaCons"ShouldBePi"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type)))) :+: ((C1 ('MetaCons"ShouldBePath"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type)) :+: C1 ('MetaCons"ShouldBeRecordType"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type))) :+: (C1 ('MetaCons"ShouldBeRecordPattern"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DeBruijnPattern)) :+: C1 ('MetaCons"CannotApply"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type)))))) :+: (((C1 ('MetaCons"InvalidTypeSort"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Sort)) :+: (C1 ('MetaCons"SplitOnCoinductive"
'PrefixI 'False) U1 :+: C1 ('MetaCons"SplitOnIrrelevant"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Dom Type))))) :+: ((C1 ('MetaCons"SplitOnUnusableCohesion"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Dom Type))) :+: C1 ('MetaCons"SplitOnUnusablePolarity"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Dom Type)))) :+: (C1 ('MetaCons"SplitOnNonVariable"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type)) :+: C1 ('MetaCons"SplitOnNonEtaRecord"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName))))) :+: (((C1 ('MetaCons"SplitOnAbstract"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName)) :+: C1 ('MetaCons"SplitOnUnchecked"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName))) :+: (C1 ('MetaCons"SplitOnPartial"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Dom Type))) :+: C1 ('MetaCons"SplitInProp"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DataOrRecordE)))) :+: ((C1 ('MetaCons"DefinitionIsIrrelevant"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName)) :+: C1 ('MetaCons"DefinitionIsErased"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName))) :+: (C1 ('MetaCons"ProjectionIsIrrelevant"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName)) :+: C1 ('MetaCons"VariableIsIrrelevant"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Name)))))))) :+: (((((C1 ('MetaCons"VariableIsErased"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Name)) :+: (C1 ('MetaCons"VariableIsOfUnusableCohesion"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Name) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Cohesion)) :+: C1 ('MetaCons"LambdaIsErased"
'PrefixI 'False) U1)) :+: ((C1 ('MetaCons"RecordIsErased"
'PrefixI 'False) U1 :+: C1 ('MetaCons"InvalidModalTelescopeUse"
'PrefixI 'False) ((S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Modality)) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Modality) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Definition)))) :+: (C1 ('MetaCons"VariableIsOfUnusablePolarity"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Name) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PolarityModality)) :+: C1 ('MetaCons"UnequalLevel"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Comparison) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Level) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Level)))))) :+: (((C1 ('MetaCons"UnequalTerms"
'PrefixI 'False) ((S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Comparison) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term)) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CompareAs))) :+: C1 ('MetaCons"UnequalRelevance"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Comparison) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term)))) :+: (C1 ('MetaCons"UnequalQuantity"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Comparison) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term))) :+: C1 ('MetaCons"UnequalCohesion"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Comparison) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term))))) :+: ((C1 ('MetaCons"UnequalPolarity"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Comparison) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term))) :+: C1 ('MetaCons"UnequalFiniteness"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Comparison) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term)))) :+: (C1 ('MetaCons"UnequalHiding"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term)) :+: C1 ('MetaCons"UnequalSorts"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Sort) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Sort)))))) :+: (((C1 ('MetaCons"NotLeqSort"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Sort) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Sort)) :+: (C1 ('MetaCons"MetaCannotDependOn"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 MetaId) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Nat))) :+: C1 ('MetaCons"MetaIrrelevantSolution"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 MetaId) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term)))) :+: ((C1 ('MetaCons"MetaErasedSolution"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 MetaId) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term)) :+: C1 ('MetaCons"GenericError"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String))) :+: (C1 ('MetaCons"GenericDocError"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Doc)) :+: C1 ('MetaCons"SortOfSplitVarError"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Blocker)) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Doc))))) :+: (((C1 ('MetaCons"WrongSharpArity"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName)) :+: C1 ('MetaCons"BuiltinMustBeConstructor"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuiltinId) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr))) :+: (C1 ('MetaCons"BuiltinMustBeData"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuiltinId) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)) :+: C1 ('MetaCons"BuiltinMustBeDef"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuiltinId)))) :+: ((C1 ('MetaCons"BuiltinMustBeFunction"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuiltinId)) :+: C1 ('MetaCons"BuiltinMustBePostulate"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuiltinId))) :+: (C1 ('MetaCons"NoSuchBuiltinName"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)) :+: C1 ('MetaCons"InvalidBuiltin"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String))))))) :+: ((((C1 ('MetaCons"DuplicateBuiltinBinding"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuiltinId) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term))) :+: (C1 ('MetaCons"NoBindingForBuiltin"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuiltinId)) :+: C1 ('MetaCons"NoBindingForPrimitive"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PrimitiveId)))) :+: ((C1 ('MetaCons"NoSuchPrimitiveFunction"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)) :+: C1 ('MetaCons"DuplicatePrimitiveBinding"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PrimitiveId) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName)))) :+: (C1 ('MetaCons"WrongArgInfoForPrimitive"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PrimitiveId) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ArgInfo) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ArgInfo))) :+: C1 ('MetaCons"ShadowedModule"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Name) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (List1 ModuleName)))))) :+: (((C1 ('MetaCons"BuiltinInParameterisedModule"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuiltinId)) :+: C1 ('MetaCons"IllegalDeclarationInDataDefinition"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (List1 Declaration)))) :+: (C1 ('MetaCons"IllegalLetInTelescope"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TypedBinding)) :+: C1 ('MetaCons"IllegalPatternInTelescope"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Binder)))) :+: ((C1 ('MetaCons"AbsentRHSRequiresAbsurdPattern"
'PrefixI 'False) U1 :+: C1 ('MetaCons"TooManyFields"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Name]) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (List1 Name))))) :+: (C1 ('MetaCons"DuplicateFields"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (List1 Name))) :+: C1 ('MetaCons"DuplicateConstructors"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (List1 Name))))))) :+: (((C1 ('MetaCons"DuplicateOverlapPragma"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OverlapMode) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OverlapMode))) :+: (C1 ('MetaCons"WithOnFreeVariable"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term)) :+: C1 ('MetaCons"UnexpectedWithPatterns"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (List1 Pattern))))) :+: ((C1 ('MetaCons"WithClausePatternMismatch"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Pattern) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NamedArg DeBruijnPattern))) :+: C1 ('MetaCons"IllTypedPatternAfterWithAbstraction"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Pattern))) :+: (C1 ('MetaCons"TooFewPatternsInWithClause"
'PrefixI 'False) U1 :+: C1 ('MetaCons"TooManyPatternsInWithClause"
'PrefixI 'False) U1))) :+: (((C1 ('MetaCons"PathAbstractionFailed"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Abs Type))) :+: C1 ('MetaCons"FieldOutsideRecord"
'PrefixI 'False) U1) :+: (C1 ('MetaCons"ModuleArityMismatch"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ModuleName) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Telescope) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Either (List1 (NamedArg Expr)) Args)))) :+: C1 ('MetaCons"GeneralizeCyclicDependency"
'PrefixI 'False) U1)) :+: ((C1 ('MetaCons"ReferencesFutureVariables"
'PrefixI 'False) ((S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (List1 Int))) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Arg Term)) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) :+: C1 ('MetaCons"DoesNotMentionTicks"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Arg Term))))) :+: (C1 ('MetaCons"MismatchedProjectionsError"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName)) :+: C1 ('MetaCons"AttributeKindNotEnabled"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)))))))))) :+: ((((((C1 ('MetaCons"InvalidProjectionParameter"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NamedArg Expr))) :+: (C1 ('MetaCons"TacticAttributeNotAllowed"
'PrefixI 'False) U1 :+: C1 ('MetaCons"CannotRewriteByNonEquation"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type)))) :+: ((C1 ('MetaCons"MacroResultTypeMismatch"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type)) :+: C1 ('MetaCons"NamedWhereModuleInRefinedContext"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Term]) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [String]))) :+: (C1 ('MetaCons"ComatchingDisabledForRecord"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName)) :+: C1 ('MetaCons"IncorrectTypeForRewriteRelation"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 IncorrectTypeForRewriteRelationReason))))) :+: (((C1 ('MetaCons"CannotGenerateHCompClause"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type)) :+: C1 ('MetaCons"CannotGenerateTransportClause"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Closure (Abs Type))))) :+: (C1 ('MetaCons"CubicalNotErasure"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName)) :+: C1 ('MetaCons"CubicalPrimitiveNotFullyApplied"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName)))) :+: ((C1 ('MetaCons"ExpectedIntervalLiteral"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr)) :+: C1 ('MetaCons"FaceConstraintDisjunction"
'PrefixI 'False) U1) :+: (C1 ('MetaCons"FaceConstraintUnsatisfiable"
'PrefixI 'False) U1 :+: C1 ('MetaCons"PatternInPathLambda"
'PrefixI 'False) U1)))) :+: (((C1 ('MetaCons"PatternInSystem"
'PrefixI 'False) U1 :+: (C1 ('MetaCons"UnexpectedParameter"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 LamBinding)) :+: C1 ('MetaCons"NoParameterOfName"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ArgName)))) :+: ((C1 ('MetaCons"UnexpectedModalityAnnotationInParameter"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 LamBinding)) :+: C1 ('MetaCons"ExpectedBindingForParameter"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Dom Type)) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Abs Type)))) :+: (C1 ('MetaCons"UnexpectedTypeSignatureForParameter"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (List1 (NamedArg Binder)))) :+: C1 ('MetaCons"SortDoesNotAdmitDataDefinitions"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Sort))))) :+: (((C1 ('MetaCons"SortCannotDependOnItsIndex"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type)) :+: C1 ('MetaCons"UnusableAtModality"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 WhyCheckModality) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Modality) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term)))) :+: (C1 ('MetaCons"SplitError"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SplitError)) :+: C1 ('MetaCons"ImpossibleConstructor"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NegativeUnification)))) :+: ((C1 ('MetaCons"DatatypeIndexPolarity"
'PrefixI 'False) U1 :+: C1 ('MetaCons"RecursiveRecordNeedsInductivity"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName))) :+: (C1 ('MetaCons"CannotSolveSizeConstraints"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (List1 (ProblemConstraint, HypSizeConstraint))) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Doc)) :+: C1 ('MetaCons"ContradictorySizeConstraint"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (ProblemConstraint, HypSizeConstraint)))))))) :+: ((((C1 ('MetaCons"EmptyTypeOfSizes"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term)) :+: (C1 ('MetaCons"FunctionTypeInSizeUniv"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term)) :+: C1 ('MetaCons"PostulatedSizeInModule"
'PrefixI 'False) U1)) :+: ((C1 ('MetaCons"LibraryError"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 LibErrors)) :+: C1 ('MetaCons"LibTooFarDown"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TopLevelModuleName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AgdaLibFile))) :+: (C1 ('MetaCons"SolvedButOpenHoles"
'PrefixI 'False) U1 :+: C1 ('MetaCons"CyclicModuleDependency"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (List2 TopLevelModuleName)))))) :+: (((C1 ('MetaCons"FileNotFound"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TopLevelModuleName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [AbsolutePath])) :+: C1 ('MetaCons"OverlappingProjects"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AbsolutePath) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TopLevelModuleName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TopLevelModuleName)))) :+: (C1 ('MetaCons"AmbiguousTopLevelModuleName"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TopLevelModuleName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (List2 AbsolutePath))) :+: C1 ('MetaCons"ModuleNameUnexpected"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TopLevelModuleName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TopLevelModuleName)))) :+: ((C1 ('MetaCons"ModuleNameDoesntMatchFileName"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TopLevelModuleName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [AbsolutePath])) :+: C1 ('MetaCons"ModuleDefinedInOtherFile"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TopLevelModuleName) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AbsolutePath) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AbsolutePath)))) :+: (C1 ('MetaCons"InvalidFileName"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AbsolutePath) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 InvalidFileNameReason)) :+: C1 ('MetaCons"ModuleNameHashCollision"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 RawTopLevelModuleName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe RawTopLevelModuleName))))))) :+: (((C1 ('MetaCons"BothWithAndRHS"
'PrefixI 'False) U1 :+: (C1 ('MetaCons"AbstractConstructorNotInScope"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName)) :+: C1 ('MetaCons"CopatternHeadNotProjection"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName)))) :+: ((C1 ('MetaCons"NotAllowedInDotPatterns"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NotAllowedInDotPatterns)) :+: C1 ('MetaCons"NotInScope"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName))) :+: (C1 ('MetaCons"NoSuchModule"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName)) :+: C1 ('MetaCons"AmbiguousName"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AmbiguousNameReason))))) :+: (((C1 ('MetaCons"AmbiguousModule"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (List1 ModuleName))) :+: C1 ('MetaCons"AmbiguousField"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Name) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (List2 ModuleName)))) :+: (C1 ('MetaCons"AmbiguousConstructor"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (List2 QName))) :+: C1 ('MetaCons"ClashingDefinition"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe NiceDeclaration)))))) :+: ((C1 ('MetaCons"ClashingModule"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ModuleName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ModuleName)) :+: C1 ('MetaCons"DefinitionInDifferentModule"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName))) :+: (C1 ('MetaCons"DuplicateImports"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (List1 ImportedName))) :+: C1 ('MetaCons"InvalidPattern"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Pattern)))))))) :+: (((((C1 ('MetaCons"InvalidPun"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ConstructorOrPatternSynonym) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName)) :+: (C1 ('MetaCons"RepeatedNamesInImportDirective"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (List1 (List2 ImportedName)))) :+: C1 ('MetaCons"RepeatedVariablesInPattern"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (List1 Name))))) :+: ((C1 ('MetaCons"GeneralizeNotSupportedHere"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName)) :+: C1 ('MetaCons"GeneralizedVarInLetOpenedModule"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName))) :+: (C1 ('MetaCons"MultipleFixityDecls"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (List1 (Name, Pair Fixity')))) :+: C1 ('MetaCons"MultiplePolarityPragmas"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (List1 Name)))))) :+: (((C1 ('MetaCons"ExplicitPolarityVsPragma"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName)) :+: C1 ('MetaCons"ConstructorNameOfNonRecord"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ResolvedName))) :+: (C1 ('MetaCons"CannotQuote"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CannotQuote)) :+: C1 ('MetaCons"CannotQuoteTerm"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CannotQuoteTerm)))) :+: ((C1 ('MetaCons"DeclarationsAfterTopLevelModule"
'PrefixI 'False) U1 :+: C1 ('MetaCons"IllegalDeclarationBeforeTopLevelModule"
'PrefixI 'False) U1) :+: (C1 ('MetaCons"MissingTypeSignature"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 MissingTypeSignatureInfo)) :+: C1 ('MetaCons"NotAnExpression"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr)))))) :+: (((C1 ('MetaCons"NotAValidLetBinding"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe NotAValidLetBinding))) :+: (C1 ('MetaCons"NotAValidLetExpression"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NotAValidLetExpression)) :+: C1 ('MetaCons"NotValidBeforeField"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NiceDeclaration)))) :+: ((C1 ('MetaCons"PrivateRecordField"
'PrefixI 'False) U1 :+: C1 ('MetaCons"QualifiedLocalModule"
'PrefixI 'False) U1) :+: (C1 ('MetaCons"AsPatternInPatternSynonym"
'PrefixI 'False) U1 :+: C1 ('MetaCons"DotPatternInPatternSynonym"
'PrefixI 'False) U1))) :+: (((C1 ('MetaCons"BadArgumentsToPatternSynonym"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AmbiguousQName)) :+: C1 ('MetaCons"TooFewArgumentsToPatternSynonym"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AmbiguousQName))) :+: (C1 ('MetaCons"CannotResolveAmbiguousPatternSynonym"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (List1 (QName, PatternSynDefn)))) :+: C1 ('MetaCons"IllegalInstanceVariableInPatternSynonym"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Name)))) :+: ((C1 ('MetaCons"PatternSynonymArgumentShadows"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ConstructorOrPatternSynonym) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Name) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (List1 AbstractName)))) :+: C1 ('MetaCons"UnusedVariableInPatternSynonym"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Name))) :+: (C1 ('MetaCons"UnboundVariablesInPatternSynonym"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (List1 Name))) :+: C1 ('MetaCons"NoParseForApplication"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (List2 Expr)))))))) :+: ((((C1 ('MetaCons"AmbiguousParseForApplication"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (List2 Expr)) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (List1 Expr))) :+: (C1 ('MetaCons"NoParseForLHS"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 LHSOrPatSyn) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Pattern]) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Pattern))) :+: C1 ('MetaCons"AmbiguousParseForLHS"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 LHSOrPatSyn) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Pattern) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (List2 Pattern)))))) :+: ((C1 ('MetaCons"AmbiguousProjection"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (List1 QName))) :+: C1 ('MetaCons"AmbiguousOverloadedProjection"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (List1 QName)) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Doc))) :+: (C1 ('MetaCons"OperatorInformation"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [NotationSection]) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TypeError)) :+: C1 ('MetaCons"InstanceNoCandidate"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [(Term, TCErr)]))))) :+: (((C1 ('MetaCons"ExecError"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ExecError)) :+: C1 ('MetaCons"UnquoteFailed"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UnquoteError))) :+: (C1 ('MetaCons"DeBruijnIndexOutOfScope"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Nat) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Telescope) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Name]))) :+: C1 ('MetaCons"NeedOptionAllowExec"
'PrefixI 'False) U1)) :+: ((C1 ('MetaCons"NeedOptionCopatterns"
'PrefixI 'False) U1 :+: C1 ('MetaCons"NeedOptionCubical"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Cubical) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String))) :+: (C1 ('MetaCons"NeedOptionPatternMatching"
'PrefixI 'False) U1 :+: C1 ('MetaCons"NeedOptionProp"
'PrefixI 'False) U1)))) :+: (((C1 ('MetaCons"NeedOptionRewriting"
'PrefixI 'False) U1 :+: (C1 ('MetaCons"NeedOptionSizedTypes"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)) :+: C1 ('MetaCons"NeedOptionTwoLevel"
'PrefixI 'False) U1)) :+: ((C1 ('MetaCons"NeedOptionUniversePolymorphism"
'PrefixI 'False) U1 :+: C1 ('MetaCons"NonFatalErrors"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set1 TCWarning)))) :+: (C1 ('MetaCons"InstanceSearchDepthExhausted"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) :+: C1 ('MetaCons"TriedToCopyConstrainedPrim"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName))))) :+: (((C1 ('MetaCons"InvalidInstanceHeadType"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 WhyInvalidInstanceType)) :+: C1 ('MetaCons"InteractionError"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 InteractionError))) :+: (C1 ('MetaCons"BackendDoesNotSupportOnlyScopeChecking"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BackendName)) :+: C1 ('MetaCons"CubicalCompilationNotSupported"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Cubical)))) :+: ((C1 ('MetaCons"CustomBackendError"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BackendName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Doc)) :+: C1 ('MetaCons"GHCBackendError"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 GHCBackendError))) :+: (C1 ('MetaCons"JSBackendError"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 JSBackendError)) :+: C1 ('MetaCons"UnknownBackend"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BackendName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set BackendName)))))))))))
Constructors
UnifyIndicesNotVars Telescope Type Term Term ArgsFailed to apply injectivity to constructor of indexed datatype
UnifyRecursiveEq Telescope Type Int TermCan't solve equation because variable occurs in (type of) lhs
UnifyReflexiveEq Telescope Type TermCan't solve reflexive equation because --without-K is enabled
UnifyUnusableModality Telescope Type Int Term ModalityCan't solve equation because solution modality is less "usable"
Instances5Show, Generic, NFData, PrettyTCM, Rep
Show UnificationFailureDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric UnificationFailureDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData UnificationFailureDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePrettyTCM UnificationFailureDefined in Agda-2.8.0.2 · Agda.TypeChecking.Errors · orphantype Rep UnificationFailure = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"UnificationFailure"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) ((C1 ('MetaCons"UnifyIndicesNotVars"
'PrefixI 'False) ((S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Telescope) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type)) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Args)))) :+: C1 ('MetaCons"UnifyRecursiveEq"
'PrefixI 'False) ((S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Telescope) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type)) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term)))) :+: (C1 ('MetaCons"UnifyReflexiveEq"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Telescope) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term))) :+: C1 ('MetaCons"UnifyUnusableModality"
'PrefixI 'False) ((S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Telescope) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Type)) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Modality))))))
Constructors
BlockedOnMeta TCState BlockerCannotDeclareHiddenFunction QNameCommitAfterDefConInsteadOfDef QName String StringDefineDataNotData QNameDefInsteadOfCon QName String StringMissingDeclaration QNameMissingDefinition QNameNakedUnquoteNonCanonical String TermPatLamWithoutClauses TermStaleMeta TopLevelModuleName MetaIdAttempt to unquote a serialized meta.
TooManyParameters Nat ExprUnboundName QName
Instances5Show, Generic, NFData, PrettyTCM, Rep
Show UnquoteErrorDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric UnquoteErrorDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData UnquoteErrorDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePrettyTCM UnquoteErrorDefined in Agda-2.8.0.2 · Agda.TypeChecking.Errors · orphantype Rep UnquoteError = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"UnquoteError"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (((C1 ('MetaCons"BlockedOnMeta"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TCState) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Blocker)) :+: (C1 ('MetaCons"CannotDeclareHiddenFunction"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName)) :+: C1 ('MetaCons"CommitAfterDef"
'PrefixI 'False) U1)) :+: ((C1 ('MetaCons"ConInsteadOfDef"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String))) :+: C1 ('MetaCons"DefineDataNotData"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName))) :+: (C1 ('MetaCons"DefInsteadOfCon"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String))) :+: C1 ('MetaCons"MissingDeclaration"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName))))) :+: ((C1 ('MetaCons"MissingDefinition"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName)) :+: (C1 ('MetaCons"NakedUnquote"
'PrefixI 'False) U1 :+: C1 ('MetaCons"NonCanonical"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term)))) :+: ((C1 ('MetaCons"PatLamWithoutClauses"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term)) :+: C1 ('MetaCons"StaleMeta"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TopLevelModuleName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 MetaId))) :+: (C1 ('MetaCons"TooManyParameters"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Nat) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr)) :+: C1 ('MetaCons"UnboundName"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName))))))
Constructors
Instances3Generic, NFData, Rep
Generic UnquoteFlagsDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData UnquoteFlagsDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Basetype Rep UnquoteFlags = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"UnquoteFlags"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"UnquoteFlags"
'PrefixI 'True) (S1 ('MetaSel ('Just"_unquoteNormalise"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))
A non-fatal error is an error which does not prevent us from checking the document further and interacting with the user.
Constructors
NicifierIssue DeclarationWarningTerminationIssue (List1 TerminationError)UnreachableClauses QName (List1 Range)UnreachableClauses f rsmeans that the clauses infwhose ranges arersare unreachable.CoverageIssue QName (List1 (Telescope, [NamedArg DeBruijnPattern]))`CoverageIssue f pss` means that
pssare not covered infCoverageNoExactSplit QName (List1 Clause)InlineNoExactSplit QName ClauseClause was turned into copattern matching clause(s) by an
{-# INLINE constructor #-}and thus is not a definitional equality any more.NotStrictlyPositive QName (Seq OccursWhere)ConstructorDoesNotFitInData DataOrRecord_ QName Sort Sort TCErrCoinductiveEtaRecord QNameA record type declared as both
coinductiveand havingeta-equality.UnsolvedMetaVariables (Set1 Range)Do not use directly with
warningUnsolvedInteractionMetas (Set1 Range)Do not use directly with
warningUnsolvedConstraints (List1 ProblemConstraint)Do not use directly with
warningInteractionMetaBoundaries (Set1 Range)Do not use directly with
warningCantGeneralizeOverSorts (Set1 MetaId)AbsurdPatternRequiresAbsentRHSOldBuiltin BuiltinId BuiltinIdIn `OldBuiltin old new`, the BUILTIN old has been replaced by new.
BuiltinDeclaresIdentifier BuiltinIdThe builtin declares a new identifier, so it should not be in scope.
DuplicateRecordDirective RecordDirectiveThe given record directive is conflicting with a prior one in the same record declaration.
EmptyRewritePragmaIf the user wrote just
{-# REWRITE #-}.EmptyWhereAn empty
whereblock is dead code. TODO: linearity -- | FixingQuantity String Quantity Quantity -- -- ^ Auto-correcting quantity pertaining to String from to.FixingRelevance String Relevance RelevanceAuto-correcting relevance pertaining to String from to.
FixingCohesion String Cohesion CohesionAuto-correcting cohesion pertaining to String from to.
FixingPolarity String PolarityModality PolarityModalityAuto-correcting polarity pertaining to String from to.
IllformedAsClause StringIf the user wrote something other than an unqualified name in the
asclause of animportstatement. The String gives optionally extra explanation.InvalidCharacterLiteral CharA character literal Agda does not support, e.g. surrogate code points.
ClashesViaRenaming NameOrModule (Set1 Name)If a
renamingimport directive introduces a name or module name clash in the exported names of a module. (See issue #4154.)UselessPatternDeclarationForRecord StringThe
patterndeclaration is useless in the presence of eithercoinductiveoreta-equality. Content of String is "coinductive" or "eta", resp.UselessPragma Range DocWarning when pragma is useless and thus ignored. Range is for dead code highlighting.
UselessPublic UselessPublicReasonIf the user opens a module public before the module header. (See issue #2377.)
UselessHiding (List1 ImportedName)UselessInline QNameUselessTacticA tactic attribute applied to a non-hidden (visible or instance) argument.
WrongInstanceDeclarationInstanceWithExplicitArg QNameAn instance was declared with an implicit argument, which means it will never actually be considered by instance search.
InstanceNoOutputTypeName DocThe type of an instance argument doesn't end in a named or variable type, so it will never be considered by instance search.
InstanceArgWithExplicitArg DocAs InstanceWithExplicitArg, but for local bindings rather than top-level instances.
InversionDepthReached QNameThe --inversion-max-depth was reached.
SafeFlagPostulate QNameSafeFlagPragma (Set String)Unsafe OPTIONS.
SafeFlagWithoutKFlagPrimEraseEqualityWithoutKFlagPrimEraseEqualityConflictingPragmaOptions String String`ConflictingPragmaOptions a b`: Inconsistent options `--a` and `--no-b`, since `--a` implies `--b`. Ignoring `--no-b`.
OptionWarning OptionWarningParseWarning ParseWarningLibraryWarning LibWarningDeprecationWarning String String String`DeprecationWarning old new version`:
oldis deprecated, usenewinstead. This will be an error in Agdaversion.UserWarning TextUser-defined warning (e.g. to mention that a name is deprecated)
DuplicateUsing (List1 ImportedName)Duplicate mentions of the same name in
usingdirective(s).FixityInRenamingModule (List1 Range)Fixity of modules cannot be changed via renaming (since modules have no fixity).
ModuleDoesntExport QName [Name] [Name] (List1 ImportedName)Some imported names are not actually exported by the source module. The second argument is the names that could be exported. The third argument is the module names that could be exported.
InfectiveImport DocImporting a file using an infective option into one which doesn't
CoInfectiveImport DocImporting a file not using a coinfective option from one which does
ConfluenceCheckingIncompleteBecauseOfMeta QNameConfluence checking incomplete because the definition of the QName contains unsolved metavariables.
ConfluenceForCubicalNotSupportedConfluence checking with
--cubicalmight be incomplete.NotARewriteRule QName IsAmbiguousIllegalRewriteRule detected during scope checking.
IllegalRewriteRule QName IllegalRewriteRuleReasonRewriteNonConfluent Term Term Term DocConfluence checker found critical pair and equality checking resulted in a type error
RewriteMaybeNonConfluent Term Term [Doc]Confluence checker got stuck on computing overlap between two rewrite rules
RewriteAmbiguousRules Term Term TermThe global confluence checker found a term
uthat reduces to bothv1andv2and there is no rule to resolve the ambiguity.RewriteMissingRule Term Term TermThe global confluence checker found a term
uthat reduces tov, butvdoes not reduce torho(u).PragmaCompileErased BackendName QNameCOMPILE directive for an erased symbol.
PragmaCompileListCOMPILE GHCpragma for lists; ignored.PragmaCompileMaybeCOMPILE GHCpragma forMAYBE; ignored.PragmaCompileUnparsable StringCOMPILE GHCpragma String not parsable; ignored.PragmaCompileWrong QName StringPragmaCompileWrongName QName IsAmbiguousCOMPILEpragma with name QName that is not an unambiguous constructor or definition.PragmaExpectsDefinedSymbol String QNamePragmaExpectsUnambiguousConstructorOrFunction String QName IsAmbiguousPragma String with name QName that is not an unambiguous constructor or definition. General form of PragmaCompileWrongName and NotARewriteRule.
PragmaExpectsUnambiguousProjectionOrFunction String QName IsAmbiguousNoMain TopLevelModuleNameCompiler run on module that does not have a
mainfunction.NotInScopeW QNameOut of scope error we can recover from.
UnsupportedIndexedMatch DocWas not able to compute a full equivalence when splitting.
AsPatternShadowsConstructorOrPatternSynonym ConstructorOrPatternSynonymThe as-name in an as-pattern may not shadow a constructor or pattern synonym name, because this can be confusing to read.
PatternShadowsConstructor Name QNameA pattern variable has the name of a constructor (data constructor or matchable record constructor).
PlentyInHardCompileTimeMode QωOriginExplicit use of @
ωor @plentyin hard compile-time mode.RecordFieldWarning RecordFieldWarningMissingTypeSignatureForOpaque QName IsOpaqueAn
abstractoropaquedefinition lacks a type signature.NotAffectedByOpaqueUnfoldingWrongName QNameName in
unfoldingclause does not resolve to unambiguous defined name.UnfoldTransparentName QNameUselessOpaqueHiddenNotInArgumentPosition ExprInstanceNotInArgumentPosition ExprMacroInLetBindingsAbstractInLetBindingsInvalidDisplayForm QName StringUnusedVariablesInDisplayForm (List1 Name)The given names are bound in the lhs of the display form but not used on the rhs. This can indicate a user misunderstanding of display forms.
TooManyArgumentsToSort QName (List1 (NamedArg Expr))Extra arguments to sort (will be ignored).
RewritesNothingA
rewriteexpression that does not fire.WithClauseProjectionFixityMismatchThe with-clause uses projection in a different fixity style than the parent clause.
TooManyPolarities QName PragmaPolaritiesToo many polarities given in POLARITY pragma for QName. PragmaPolarities contains the (likely) excessive polarities.
TopLevelPolarity QName PolarityModalityDefinition with non-default polarity annotation.
FaceConstraintCannotBeHidden ArgInfoFace constraint patterns
(i = 0)must be visible arguments.FaceConstraintCannotBeNamed NamedNameFace constraint patterns
(i = 0)must be unnamed arguments.CustomBackendWarning String DocUsed for backend-specific warnings. The string is the backend name.
Instances6Show, Generic, NFData, PrettyTCM, EmbPrj, Rep
Show WarningDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric WarningDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData WarningDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BasePrettyTCM WarningDefined in Agda-2.8.0.2 · Agda.TypeChecking.Pretty.Warning · orphanEmbPrj WarningDefined in Agda-2.8.0.2 · Agda.TypeChecking.Serialise.Instances.Errors · orphantype Rep Warning = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"Warning"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) ((((((C1 ('MetaCons"NicifierIssue"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DeclarationWarning)) :+: C1 ('MetaCons"TerminationIssue"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (List1 TerminationError)))) :+: (C1 ('MetaCons"UnreachableClauses"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (List1 Range))) :+: (C1 ('MetaCons"CoverageIssue"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (List1 (Telescope, [NamedArg DeBruijnPattern])))) :+: C1 ('MetaCons"CoverageNoExactSplit"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (List1 Clause)))))) :+: ((C1 ('MetaCons"InlineNoExactSplit"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Clause)) :+: (C1 ('MetaCons"NotStrictlyPositive"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Seq OccursWhere))) :+: C1 ('MetaCons"ConstructorDoesNotFitInData"
'PrefixI 'False) ((S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DataOrRecord_) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName)) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Sort) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Sort) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TCErr)))))) :+: (C1 ('MetaCons"CoinductiveEtaRecord"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName)) :+: (C1 ('MetaCons"UnsolvedMetaVariables"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set1 Range))) :+: C1 ('MetaCons"UnsolvedInteractionMetas"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set1 Range))))))) :+: (((C1 ('MetaCons"UnsolvedConstraints"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (List1 ProblemConstraint))) :+: (C1 ('MetaCons"InteractionMetaBoundaries"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set1 Range))) :+: C1 ('MetaCons"CantGeneralizeOverSorts"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set1 MetaId))))) :+: (C1 ('MetaCons"AbsurdPatternRequiresAbsentRHS"
'PrefixI 'False) U1 :+: (C1 ('MetaCons"OldBuiltin"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuiltinId) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuiltinId)) :+: C1 ('MetaCons"BuiltinDeclaresIdentifier"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BuiltinId))))) :+: ((C1 ('MetaCons"DuplicateRecordDirective"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 RecordDirective)) :+: (C1 ('MetaCons"EmptyRewritePragma"
'PrefixI 'False) U1 :+: C1 ('MetaCons"EmptyWhere"
'PrefixI 'False) U1)) :+: (C1 ('MetaCons"FixingRelevance"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Relevance) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Relevance))) :+: (C1 ('MetaCons"FixingCohesion"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Cohesion) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Cohesion))) :+: C1 ('MetaCons"FixingPolarity"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PolarityModality) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PolarityModality)))))))) :+: ((((C1 ('MetaCons"IllformedAsClause"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)) :+: (C1 ('MetaCons"InvalidCharacterLiteral"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Char)) :+: C1 ('MetaCons"ClashesViaRenaming"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NameOrModule) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set1 Name))))) :+: (C1 ('MetaCons"UselessPatternDeclarationForRecord"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)) :+: (C1 ('MetaCons"UselessPragma"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Doc)) :+: C1 ('MetaCons"UselessPublic"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UselessPublicReason))))) :+: ((C1 ('MetaCons"UselessHiding"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (List1 ImportedName))) :+: (C1 ('MetaCons"UselessInline"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName)) :+: C1 ('MetaCons"UselessTactic"
'PrefixI 'False) U1)) :+: (C1 ('MetaCons"WrongInstanceDeclaration"
'PrefixI 'False) U1 :+: (C1 ('MetaCons"InstanceWithExplicitArg"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName)) :+: C1 ('MetaCons"InstanceNoOutputTypeName"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Doc)))))) :+: (((C1 ('MetaCons"InstanceArgWithExplicitArg"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Doc)) :+: (C1 ('MetaCons"InversionDepthReached"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName)) :+: C1 ('MetaCons"SafeFlagPostulate"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName)))) :+: (C1 ('MetaCons"SafeFlagPragma"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set String))) :+: (C1 ('MetaCons"SafeFlagWithoutKFlagPrimEraseEquality"
'PrefixI 'False) U1 :+: C1 ('MetaCons"WithoutKFlagPrimEraseEquality"
'PrefixI 'False) U1))) :+: ((C1 ('MetaCons"ConflictingPragmaOptions"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)) :+: (C1 ('MetaCons"OptionWarning"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OptionWarning)) :+: C1 ('MetaCons"ParseWarning"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ParseWarning)))) :+: (C1 ('MetaCons"LibraryWarning"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 LibWarning)) :+: (C1 ('MetaCons"DeprecationWarning"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String))) :+: C1 ('MetaCons"UserWarning"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))))))) :+: (((((C1 ('MetaCons"DuplicateUsing"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (List1 ImportedName))) :+: (C1 ('MetaCons"FixityInRenamingModule"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (List1 Range))) :+: C1 ('MetaCons"ModuleDoesntExport"
'PrefixI 'False) ((S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Name])) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Name]) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (List1 ImportedName)))))) :+: (C1 ('MetaCons"InfectiveImport"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Doc)) :+: (C1 ('MetaCons"CoInfectiveImport"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Doc)) :+: C1 ('MetaCons"ConfluenceCheckingIncompleteBecauseOfMeta"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName))))) :+: ((C1 ('MetaCons"ConfluenceForCubicalNotSupported"
'PrefixI 'False) U1 :+: (C1 ('MetaCons"NotARewriteRule"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 IsAmbiguous)) :+: C1 ('MetaCons"IllegalRewriteRule"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 IllegalRewriteRuleReason)))) :+: (C1 ('MetaCons"RewriteNonConfluent"
'PrefixI 'False) ((S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term)) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Doc))) :+: (C1 ('MetaCons"RewriteMaybeNonConfluent"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Doc]))) :+: C1 ('MetaCons"RewriteAmbiguousRules"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term))))))) :+: (((C1 ('MetaCons"RewriteMissingRule"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term))) :+: (C1 ('MetaCons"PragmaCompileErased"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BackendName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName)) :+: C1 ('MetaCons"PragmaCompileList"
'PrefixI 'False) U1)) :+: (C1 ('MetaCons"PragmaCompileMaybe"
'PrefixI 'False) U1 :+: (C1 ('MetaCons"PragmaCompileUnparsable"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)) :+: C1 ('MetaCons"PragmaCompileWrong"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String))))) :+: ((C1 ('MetaCons"PragmaCompileWrongName"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 IsAmbiguous)) :+: (C1 ('MetaCons"PragmaExpectsDefinedSymbol"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName)) :+: C1 ('MetaCons"PragmaExpectsUnambiguousConstructorOrFunction"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 IsAmbiguous))))) :+: (C1 ('MetaCons"PragmaExpectsUnambiguousProjectionOrFunction"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 IsAmbiguous))) :+: (C1 ('MetaCons"NoMain"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TopLevelModuleName)) :+: C1 ('MetaCons"NotInScopeW"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName))))))) :+: ((((C1 ('MetaCons"UnsupportedIndexedMatch"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Doc)) :+: (C1 ('MetaCons"AsPatternShadowsConstructorOrPatternSynonym"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ConstructorOrPatternSynonym)) :+: C1 ('MetaCons"PatternShadowsConstructor"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Name) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName)))) :+: (C1 ('MetaCons"PlentyInHardCompileTimeMode"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QωOrigin)) :+: (C1 ('MetaCons"RecordFieldWarning"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 RecordFieldWarning)) :+: C1 ('MetaCons"MissingTypeSignatureForOpaque"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 IsOpaque))))) :+: ((C1 ('MetaCons"NotAffectedByOpaque"
'PrefixI 'False) U1 :+: (C1 ('MetaCons"UnfoldingWrongName"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName)) :+: C1 ('MetaCons"UnfoldTransparentName"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName)))) :+: (C1 ('MetaCons"UselessOpaque"
'PrefixI 'False) U1 :+: (C1 ('MetaCons"HiddenNotInArgumentPosition"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr)) :+: C1 ('MetaCons"InstanceNotInArgumentPosition"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr)))))) :+: (((C1 ('MetaCons"MacroInLetBindings"
'PrefixI 'False) U1 :+: (C1 ('MetaCons"AbstractInLetBindings"
'PrefixI 'False) U1 :+: C1 ('MetaCons"InvalidDisplayForm"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)))) :+: (C1 ('MetaCons"UnusedVariablesInDisplayForm"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (List1 Name))) :+: (C1 ('MetaCons"TooManyArgumentsToSort"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (List1 (NamedArg Expr)))) :+: C1 ('MetaCons"RewritesNothing"
'PrefixI 'False) U1))) :+: ((C1 ('MetaCons"WithClauseProjectionFixityMismatch"
'PrefixI 'True) ((S1 ('MetaSel ('Just"withClausePattern"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NamedArg Pattern)) :*: S1 ('MetaSel ('Just"withClauseProjectionOrigin"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ProjOrigin)) :*: (S1 ('MetaSel ('Just"parentPattern"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NamedArg DeBruijnPattern)) :*: S1 ('MetaSel ('Just"parentProjectionOrigin"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ProjOrigin))) :+: (C1 ('MetaCons"TooManyPolarities"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PragmaPolarities)) :+: C1 ('MetaCons"TopLevelPolarity"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PolarityModality)))) :+: (C1 ('MetaCons"FaceConstraintCannotBeHidden"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ArgInfo)) :+: (C1 ('MetaCons"FaceConstraintCannotBeNamed"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NamedName)) :+: C1 ('MetaCons"CustomBackendWarning"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Doc)))))))))
Assorted warnings and errors to be displayed to the user
Constructors
Instances3Null, EncodeTCM
Null WarningsAndNonFatalErrorsDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseEncodeTCM DisplayInfoDefined in Agda-2.8.0.2 · Agda.Interaction.JSONTop · orphanEncodeTCM ResponseDefined in Agda-2.8.0.2 · Agda.Interaction.JSONTop · orphan
Why are we performing a modality check?
Constructors
ConstructorTypeBecause --without-K is enabled, so the types of data constructors must be usable at the context's modality.
IndexedClauseBecause --without-K is enabled, so the result type of clauses must be usable at the context's modality.
IndexedClauseArg Name NameBecause --without-K is enabled, so any argument (second name) which mentions a dotted argument (first name) must have a type which is usable at the context's modality.
GeneratedClauseBecause we double-check the --cubical-compatible clauses. This is an internal error!
Instances4Show, Generic, NFData, Rep
Show WhyCheckModalityDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric WhyCheckModalityDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData WhyCheckModalityDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Basetype Rep WhyCheckModality = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"WhyCheckModality"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) ((C1 ('MetaCons"ConstructorType"
'PrefixI 'False) U1 :+: C1 ('MetaCons"IndexedClause"
'PrefixI 'False) U1) :+: (C1 ('MetaCons"IndexedClauseArg"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Name) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Name)) :+: C1 ('MetaCons"GeneratedClause"
'PrefixI 'False) U1))
Reason for why the instance type is invalid.
Constructors
ImproperInstHeadThe type isn't headed by a local, a definition, or a postulate (e.g. it's a universe)
ImproperInstTeleThe type we're looking for has a visible argument
Instances4Show, Generic, NFData, Rep
Show WhyInvalidInstanceTypeDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric WhyInvalidInstanceTypeDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData WhyInvalidInstanceTypeDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Basetype Rep WhyInvalidInstanceType = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"WhyInvalidInstanceType"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"ImproperInstHead"
'PrefixI 'False) U1 :+: C1 ('MetaCons"ImproperInstTele"
'PrefixI 'False) U1)
Extra information for NotAHaskellType error.
Instances4Show, Generic, NFData, Rep
Show WhyNotAHaskellTypeDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseGeneric WhyNotAHaskellTypeDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseNFData WhyNotAHaskellTypeDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Basetype Rep WhyNotAHaskellType = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base"WhyNotAHaskellType"
"Agda.TypeChecking.Monad.Base"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) ((C1 ('MetaCons"NoPragmaFor"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName)) :+: (C1 ('MetaCons"WrongPragmaFor"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Range) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName)) :+: C1 ('MetaCons"BadLambda"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term)))) :+: (C1 ('MetaCons"BadMeta"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term)) :+: (C1 ('MetaCons"BadDontCare"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Term)) :+: C1 ('MetaCons"NotCompiled"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName)))))
Extra information for error CannotQuoteTerm.
Instances6Bounded, Enum, Show, Generic, NFData, Rep
Bounded CannotQuoteTermDefined in Agda-2.8.0.2 · Agda.Interaction.Options.ErrorsEnum CannotQuoteTermDefined in Agda-2.8.0.2 · Agda.Interaction.Options.ErrorsShow CannotQuoteTermDefined in Agda-2.8.0.2 · Agda.Interaction.Options.ErrorsGeneric CannotQuoteTermDefined in Agda-2.8.0.2 · Agda.Interaction.Options.ErrorsNFData CannotQuoteTermDefined in Agda-2.8.0.2 · Agda.Interaction.Options.Errorstype Rep CannotQuoteTerm = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.Interaction.Options.Errors"CannotQuoteTerm"
"Agda.Interaction.Options.Errors"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"CannotQuoteTermHidden"
'PrefixI 'False) U1 :+: C1 ('MetaCons"CannotQuoteTermNothing"
'PrefixI 'False) U1)
The reason for an ErasedDatatype error.
Constructors
SeveralConstructorsThere are several constructors.
NoErasedMatchesThe flag
--erased-matchesis not used.NoKThe K rule is not activated.
Instances6Bounded, Enum, Show, Generic, NFData, Rep
Bounded ErasedDatatypeReasonDefined in Agda-2.8.0.2 · Agda.Interaction.Options.ErrorsEnum ErasedDatatypeReasonDefined in Agda-2.8.0.2 · Agda.Interaction.Options.ErrorsShow ErasedDatatypeReasonDefined in Agda-2.8.0.2 · Agda.Interaction.Options.ErrorsGeneric ErasedDatatypeReasonDefined in Agda-2.8.0.2 · Agda.Interaction.Options.ErrorsNFData ErasedDatatypeReasonDefined in Agda-2.8.0.2 · Agda.Interaction.Options.Errorstype Rep ErasedDatatypeReason = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.Interaction.Options.Errors"ErasedDatatypeReason"
"Agda.Interaction.Options.Errors"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"SeveralConstructors"
'PrefixI 'False) U1 :+: (C1 ('MetaCons"NoErasedMatches"
'PrefixI 'False) U1 :+: C1 ('MetaCons"NoK"
'PrefixI 'False) U1))
Reasons for error NotAValidLetBinding.
Instances6Bounded, Enum, Show, Generic, NFData, Rep
Bounded NotAValidLetBindingDefined in Agda-2.8.0.2 · Agda.Interaction.Options.ErrorsEnum NotAValidLetBindingDefined in Agda-2.8.0.2 · Agda.Interaction.Options.ErrorsShow NotAValidLetBindingDefined in Agda-2.8.0.2 · Agda.Interaction.Options.ErrorsGeneric NotAValidLetBindingDefined in Agda-2.8.0.2 · Agda.Interaction.Options.ErrorsNFData NotAValidLetBindingDefined in Agda-2.8.0.2 · Agda.Interaction.Options.Errorstype Rep NotAValidLetBinding = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.Interaction.Options.Errors"NotAValidLetBinding"
"Agda.Interaction.Options.Errors"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"MissingRHS"
'PrefixI 'False) U1 :+: (C1 ('MetaCons"NotAValidLetPattern"
'PrefixI 'False) U1 :+: C1 ('MetaCons"WhereClausesNotAllowed"
'PrefixI 'False) U1))
Reasons for error NotAValidLetExpression.
Instances6Bounded, Enum, Show, Generic, NFData, Rep
Bounded NotAValidLetExpressionDefined in Agda-2.8.0.2 · Agda.Interaction.Options.ErrorsEnum NotAValidLetExpressionDefined in Agda-2.8.0.2 · Agda.Interaction.Options.ErrorsShow NotAValidLetExpressionDefined in Agda-2.8.0.2 · Agda.Interaction.Options.ErrorsGeneric NotAValidLetExpressionDefined in Agda-2.8.0.2 · Agda.Interaction.Options.ErrorsNFData NotAValidLetExpressionDefined in Agda-2.8.0.2 · Agda.Interaction.Options.Errorstype Rep NotAValidLetExpression = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.Interaction.Options.Errors"NotAValidLetExpression"
"Agda.Interaction.Options.Errors"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"MissingBody"
'PrefixI 'False) U1)
Things not allowed in dot patterns.
Instances6Bounded, Enum, Show, Generic, NFData, Rep
Bounded NotAllowedInDotPatternsDefined in Agda-2.8.0.2 · Agda.Interaction.Options.ErrorsEnum NotAllowedInDotPatternsDefined in Agda-2.8.0.2 · Agda.Interaction.Options.ErrorsShow NotAllowedInDotPatternsDefined in Agda-2.8.0.2 · Agda.Interaction.Options.ErrorsGeneric NotAllowedInDotPatternsDefined in Agda-2.8.0.2 · Agda.Interaction.Options.ErrorsNFData NotAllowedInDotPatternsDefined in Agda-2.8.0.2 · Agda.Interaction.Options.Errorstype Rep NotAllowedInDotPatterns = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.Interaction.Options.Errors"NotAllowedInDotPatterns"
"Agda.Interaction.Options.Errors"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"LetExpressions"
'PrefixI 'False) U1 :+: C1 ('MetaCons"PatternLambdas"
'PrefixI 'False) U1)
Unique identifier of a file.
Instances10Enum, Eq, Num, Ord, Show, Generic, …
Enum FileIdDefined in Agda-2.8.0.2 · Agda.Utils.FileIdEq FileIdDefined in Agda-2.8.0.2 · Agda.Utils.FileIdNum FileIdDefined in Agda-2.8.0.2 · Agda.Utils.FileIdOrd FileIdDefined in Agda-2.8.0.2 · Agda.Utils.FileIdShow FileIdDefined in Agda-2.8.0.2 · Agda.Utils.FileIdGeneric FileIdDefined in Agda-2.8.0.2 · Agda.Utils.FileIdNFData FileIdDefined in Agda-2.8.0.2 · Agda.Utils.FileIdGetFileId FileToIdDefined in Agda-2.8.0.2 · Agda.Utils.FileIdGetIdFile IdToFileDefined in Agda-2.8.0.2 · Agda.Utils.FileIdtype Rep FileId = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.Utils.FileId"FileId"
"Agda.Utils.FileId"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'True) (C1 ('MetaCons"FileId"
'PrefixI 'True) (S1 ('MetaSel ('Just"theFileId"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word32)))
Methods
fileFromId :: FileId -> m FileidFromFile :: File -> m FileId
Instances6MonadFileId
MonadFileId ReplMDefined in Agda-2.8.0.2 · Agda.Interaction.CommandLineMonadFileId IMDefined in Agda-2.8.0.2 · Agda.Interaction.MonadMonadIO m => MonadFileId (TCMT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.State · orphanMonadFileId m => MonadFileId (ExceptT e m)Defined in Agda-2.8.0.2 · Agda.Utils.FileIdMonadFileId m => MonadFileId (ReaderT r m)Defined in Agda-2.8.0.2 · Agda.Utils.FileIdMonadFileId m => MonadFileId (StateT s m)Defined in Agda-2.8.0.2 · Agda.Utils.FileId
Methods
pragmaOptions :: m PragmaOptionsReturns the pragma options which are currently in effect.
commandLineOptions :: m CommandLineOptionsReturns the command line options which are currently in effect.
Instances19HasOptions, …
HasOptions ReplMDefined in Agda-2.8.0.2 · Agda.Interaction.CommandLineHasOptions IMDefined in Agda-2.8.0.2 · Agda.Interaction.MonadHasOptions TerMDefined in Agda-2.8.0.2 · Agda.Termination.MonadHasOptions ForcedVariableCollection'Defined in Agda-2.8.0.2 · Agda.TypeChecking.ForcingHasOptions ReduceMDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseHasOptions NLMDefined in Agda-2.8.0.2 · Agda.TypeChecking.Rewriting.NonLinMatchHasOptions m => HasOptions (AbsToConT m)Defined in Agda-2.8.0.2 · Agda.Syntax.Translation.AbstractToConcreteHasOptions m => HasOptions (PureConversionT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Conversion.PureHasOptions m => HasOptions (BlockT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseHasOptions m => HasOptions (NamesT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.NamesHasOptions m => HasOptions (ListT m)Defined in Agda-2.8.0.2 · Agda.Interaction.Options.HasOptionsHasOptions m => HasOptions (ChangeT m)Defined in Agda-2.8.0.2 · Agda.Interaction.Options.HasOptionsHasOptions m => HasOptions (MaybeT m)Defined in Agda-2.8.0.2 · Agda.Interaction.Options.HasOptionsMonadIO m => HasOptions (TCMT m)Defined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.BaseHasOptions m => HasOptions (ExceptT e m)Defined in Agda-2.8.0.2 · Agda.Interaction.Options.HasOptionsHasOptions m => HasOptions (IdentityT m)Defined in Agda-2.8.0.2 · Agda.Interaction.Options.HasOptionsHasOptions m => HasOptions (ReaderT r m)Defined in Agda-2.8.0.2 · Agda.Interaction.Options.HasOptionsHasOptions m => HasOptions (StateT s m)Defined in Agda-2.8.0.2 · Agda.Interaction.Options.HasOptions(HasOptions m, Monoid w) => HasOptions (WriterT w m)Defined in Agda-2.8.0.2 · Agda.Interaction.Options.HasOptions
Instances5Show, Generic, NFData, EmbPrj, Rep
Show RecordFieldWarningDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base.WarningGeneric RecordFieldWarningDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base.WarningNFData RecordFieldWarningDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base · orphanEmbPrj RecordFieldWarningDefined in Agda-2.8.0.2 · Agda.TypeChecking.Serialise.Instances.Errors · orphantype Rep RecordFieldWarning = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base.Warning"RecordFieldWarning"
"Agda.TypeChecking.Monad.Base.Warning"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) (C1 ('MetaCons"DuplicateFields"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (List1 (Name, Range)))) :+: C1 ('MetaCons"TooManyFields"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QName) :*: (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Name]) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (List1 (Name, Range))))))
Instances7Bounded, Enum, Show, Generic, NFData, EmbPrj, …
Bounded UselessPublicReasonDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base.WarningEnum UselessPublicReasonDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base.WarningShow UselessPublicReasonDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base.WarningGeneric UselessPublicReasonDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base.WarningNFData UselessPublicReasonDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base.WarningEmbPrj UselessPublicReasonDefined in Agda-2.8.0.2 · Agda.TypeChecking.Serialise.Instances.Errors · orphantype Rep UselessPublicReason = D1 ('MetaDataDefined in Agda-2.8.0.2 · Agda.TypeChecking.Monad.Base.Warning"UselessPublicReason"
"Agda.TypeChecking.Monad.Base.Warning"
"Agda-2.8.0.2-IWATId8XtJVEb9GRZaI6YB"
'False) ((C1 ('MetaCons"UselessPublicPreamble"
'PrefixI 'False) U1 :+: C1 ('MetaCons"UselessPublicLet"
'PrefixI 'False) U1) :+: (C1 ('MetaCons"UselessPublicNoOpen"
'PrefixI 'False) U1 :+: C1 ('MetaCons"UselessPublicAnonymousModule"
'PrefixI 'False) U1))
Orphan instances
13 instancesNFData ComparisonNFData HighlightingLevelNFData HighlightingMethodNFData PolarityNFData RecordFieldWarningPretty ComparisonPretty ModuleToSourcePretty NamedMetaPretty PolarityKillRange PolarityGetFileId FileDictWithBuiltinsGetIdFile FileDictWithBuiltinsNFData (BiMap RawTopLevelModuleName ModuleNameHash)