Safe Haskell | None |
---|---|
Language | Haskell98 |
Agda.TypeChecking.Errors
- prettyError :: MonadTCM tcm => TCErr -> tcm String
- class PrettyTCM a where
- tcErrString :: TCErr -> String
- data Warnings = Warnings {}
- warningsToError :: Warnings -> TypeError
Documentation
prettyError :: MonadTCM tcm => TCErr -> tcm String Source
class PrettyTCM a where Source
Instances
tcErrString :: TCErr -> String Source
Warnings.
Invariant: The fields are never empty at the same time.
Constructors
Warnings | |
Fields
|
warningsToError :: Warnings -> TypeError Source
Turns warnings into an error. Even if several errors are possible only one is raised.