evoke-0.2021.9.14: A GHC plugin to derive instances.
Safe HaskellNone
LanguageHaskell2010

Evoke.Hsc

Synopsis

Documentation

addWarning :: SrcSpan -> MsgDoc -> Hsc () Source #

Adds a warning, which only causes compilation to fail if -Werror is enabled.

throwError :: SrcSpan -> MsgDoc -> Hsc a Source #

Throws an error, which will cause compilation to fail.