evoke-0.2022.8.26: A GHC plugin to derive instances.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Evoke.Hsc

Synopsis

Documentation

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

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

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

Throws an error, which will cause compilation to fail.