Agda
Safe HaskellNone
LanguageHaskell2010

Agda.TypeChecking.Errors

Synopsis

Documentation

tcWarningsToError :: [TCWarning] -> TCM () Source #

Turns warnings, if any, into errors.

applyFlagsToTCWarningsPreserving :: HasOptions m => Set WarningName -> Set TCWarning -> m (Set TCWarning) Source #

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

getAllWarnings :: (ReadTCState m, MonadWarning m, MonadTCM m) => WhichWarnings -> m (Set TCWarning) Source #

Collect all warnings that have accumulated in the state.

dropTopLevelModule :: MonadPretty m => QName -> m QName Source #

Drops the filename component of the qualified name.

topLevelModuleDropper :: (MonadDebug m, MonadTCEnv m, ReadTCState m) => m (QName -> QName) Source #

Produces a function which drops the filename component of the qualified name.

class Verbalize a where Source #

Methods

verbalize :: a -> String Source #

Instances

Instances details
Verbalize Cohesion Source # 
Instance details

Defined in Agda.TypeChecking.Errors

Verbalize Hiding Source # 
Instance details

Defined in Agda.TypeChecking.Errors

Verbalize ModalPolarity Source # 
Instance details

Defined in Agda.TypeChecking.Errors

Verbalize Modality Source # 
Instance details

Defined in Agda.TypeChecking.Errors

Verbalize PolarityModality Source # 
Instance details

Defined in Agda.TypeChecking.Errors

Verbalize Quantity Source # 
Instance details

Defined in Agda.TypeChecking.Errors

Verbalize Relevance Source # 
Instance details

Defined in Agda.TypeChecking.Errors

Orphan instances