Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
A very simple representation of collections of warnings.
Warnings have a position (so they can be ordered), and their
Show
-instance produces a human-readable string.
Synopsis
- data Warnings
- anyWarnings :: Warnings -> Bool
- singleWarning :: SrcLoc -> Doc -> Warnings
- singleWarning' :: SrcLoc -> [SrcLoc] -> Doc -> Warnings