Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
type Diagnostics a = DiagnosticsT [Text] a Source #
type Diagnostics' a = Diagnostics a Source #
class HasDiagnostics a where Source #
addDiagnostic :: Text -> a -> a Source #
Instances
HasDiagnostics [Text] Source # | |
Defined in Language.Cimple.Diagnostics addDiagnostic :: Text -> [Text] -> [Text] Source # |
warn :: (HasLocation at, HasDiagnostics diags) => FilePath -> at -> Text -> DiagnosticsT diags () Source #
warn' :: (HasLocation at, HasDiagnostics diags) => FilePath -> at -> Text -> DiagnosticsT diags () Source #