Agda-2.5.2: A dependently typed functional programming language and proof assistant

Safe Haskell | None
Language | Haskell2010

Agda.TypeChecking.Errors

Contents

- Orphan instances

Synopsis

- prettyError :: MonadTCM tcm => TCErr -> tcm String
- tcErrString :: TCErr -> String
- prettyTCWarnings :: [TCWarning] -> TCM String
- tcWarningsToError :: [TCWarning] -> TCM a
- applyFlagsToTCWarnings :: IgnoreFlags -> [TCWarning] -> TCM [TCWarning]

# Documentation

prettyError :: MonadTCM tcm => TCErr -> tcm String #

tcErrString :: TCErr -> String #

prettyTCWarnings :: [TCWarning] -> TCM String #

tcWarningsToError :: [TCWarning] -> TCM a #

Turns all warnings into errors.

applyFlagsToTCWarnings :: IgnoreFlags -> [TCWarning] -> TCM [TCWarning] #

Depending which flags are set, one may happily ignore some warnings.

# Orphan instances

PrettyTCM TCErr # |
Methods prettyTCM :: TCErr -> TCM Doc #
PrettyTCM TypeError # |
Methods prettyTCM :: TypeError -> TCM Doc #
PrettyTCM SplitError # |
Methods prettyTCM :: SplitError -> TCM Doc #
PrettyTCM CallInfo # |
Methods prettyTCM :: CallInfo -> TCM Doc #
PrettyTCM TCWarning # |
Methods prettyTCM :: TCWarning -> TCM Doc #
PrettyTCM Warning # |
Methods prettyTCM :: Warning -> TCM Doc #
PrettyTCM Call # |
Methods prettyTCM :: Call -> TCM Doc #