module ErrUtils where import Outputable (SDoc) import SrcLoc (SrcSpan) data Severity = SevOutput | SevFatal | SevInteractive | SevDump | SevInfo | SevWarning | SevError type MsgDoc = SDoc mkLocMessage :: Severity -> SrcSpan -> MsgDoc -> MsgDoc