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.
Exception Range DocIOException 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.7.0.1 · Agda.TypeChecking.Monad.BaseException TCErrDefined in Agda-2.7.0.1 · Agda.TypeChecking.Monad.BaseNFData TCErrDefined in Agda-2.7.0.1 · Agda.TypeChecking.Monad.BaseHasRange TCErrDefined in Agda-2.7.0.1 · Agda.TypeChecking.Monad.BasePrettyTCM TCErrDefined in Agda-2.7.0.1 · Agda.TypeChecking.Errors · orphanEncodeTCM DisplayInfoDefined in Agda-2.7.0.1 · Agda.Interaction.JSONTop · orphanEncodeTCM Info_ErrorDefined in Agda-2.7.0.1 · Agda.Interaction.JSONTop · orphanEncodeTCM ResponseDefined in Agda-2.7.0.1 · Agda.Interaction.JSONTop · orphanEncodeTCM TCErrDefined in Agda-2.7.0.1 · Agda.Interaction.JSONTop · orphanMonadError TCErr ReplMDefined in Agda-2.7.0.1 · Agda.Interaction.CommandLineMonadError TCErr IMDefined in Agda-2.7.0.1 · Agda.Interaction.MonadMonadError TCErr TerMDefined in Agda-2.7.0.1 · Agda.Termination.MonadMonadError TCErr TCMDefined in Agda-2.7.0.1 · Agda.TypeChecking.Monad.BaseMonad m => MonadError TCErr (PureConversionT m)Defined in Agda-2.7.0.1 · Agda.TypeChecking.Conversion.Pure(Pretty a, Pretty b) => Pretty (OutputConstraint a b)Defined in Agda-2.7.0.1 · Agda.Interaction.BasicOps · orphan(Pretty a, Pretty b) => Pretty (OutputForm a b)Defined in Agda-2.7.0.1 · Agda.Interaction.BasicOps · orphanMonad m => MonadBlock (ExceptT TCErr m)Defined in Agda-2.7.0.1 · Agda.TypeChecking.Monad.Base(Pretty a, Pretty b) => PrettyTCM (OutputForm a b)Defined in Agda-2.7.0.1 · Agda.Interaction.BasicOps · orphan(ToConcrete a, ToConcrete b) => ToConcrete (OutputConstraint a b)Defined in Agda-2.7.0.1 · Agda.Interaction.BasicOps · orphan(ToConcrete a, ToConcrete b) => ToConcrete (OutputForm a b)Defined in Agda-2.7.0.1 · Agda.Interaction.BasicOps · orphanEncodeTCM (OutputForm Expr Expr)Defined in Agda-2.7.0.1 · Agda.Interaction.JSONTop · orphantype ConOfAbs (OutputConstraint a b) = OutputConstraint (ConOfAbs a) (ConOfAbs b)Defined in Agda-2.7.0.1 · Agda.Interaction.BasicOps · orphantype ConOfAbs (OutputForm a b) = OutputForm (ConOfAbs a) (ConOfAbs b)Defined in Agda-2.7.0.1 · Agda.Interaction.BasicOps · orphan