Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Classifying messages by severity and filtering them.
Documentation
Keeps a set of messages
Message from analysis
Message severity
Instances
Bounded Severity Source # | |
Defined in Language.Haskell.Homplexity.Message | |
Enum Severity Source # | |
Defined in Language.Haskell.Homplexity.Message | |
Generic Severity Source # | |
Read Severity Source # | |
Defined in Language.Haskell.Homplexity.Message | |
Show Severity Source # | |
NFData Severity Source # | |
Defined in Language.Haskell.Homplexity.Message | |
Eq Severity Source # | |
Ord Severity Source # | |
Defined in Language.Haskell.Homplexity.Message | |
FlagType Severity Source # | |
Defined in Language.Haskell.Homplexity.Message defineFlag :: String -> Severity -> String -> Q [Dec] | |
Lift Severity Source # | |
type Rep Severity Source # | |
Defined in Language.Haskell.Homplexity.Message type Rep Severity = D1 ('MetaData "Severity" "Language.Haskell.Homplexity.Message" "homplexity-0.4.8.1-inplace" 'False) ((C1 ('MetaCons "Debug" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Info" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Warning" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Critical" 'PrefixI 'False) (U1 :: Type -> Type))) |
severityOptions :: String Source #
String showing all possible values for Severity
.
critical :: SrcLoc -> String -> Log Source #
TODO: automatic inference of the srcLine | Log a certain error