Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data Diagnostic = Diagnostic {}
- type FileDiagnostic = (NormalizedFilePath, Diagnostic)
- data DiagnosticSeverity
- type DiagnosticStore = Map NormalizedUri StoreItem
- newtype List a = List [a]
- ideErrorText :: NormalizedFilePath -> Text -> FileDiagnostic
- showDiagnostics :: [FileDiagnostic] -> Text
- showDiagnosticsColored :: [FileDiagnostic] -> Text
Documentation
data Diagnostic #
Instances
type FileDiagnostic = (NormalizedFilePath, Diagnostic) Source #
Human readable diagnostics for a specific file.
This type packages a pretty printed, human readable error message along with the related source location so that we can display the error on either the console or in the IDE at the right source location.
data DiagnosticSeverity #
Instances
type DiagnosticStore = Map NormalizedUri StoreItem #
This data type is used to host a FromJSON instance for the encoding used by elisp, where an empty list shows up as "null"
List [a] |
Instances
Functor List | |
Foldable List | |
Defined in Language.Haskell.LSP.Types.List fold :: Monoid m => List m -> m # foldMap :: Monoid m => (a -> m) -> List a -> m # foldr :: (a -> b -> b) -> b -> List a -> b # foldr' :: (a -> b -> b) -> b -> List a -> b # foldl :: (b -> a -> b) -> b -> List a -> b # foldl' :: (b -> a -> b) -> b -> List a -> b # foldr1 :: (a -> a -> a) -> List a -> a # foldl1 :: (a -> a -> a) -> List a -> a # elem :: Eq a => a -> List a -> Bool # maximum :: Ord a => List a -> a # | |
Traversable List | |
Eq a => Eq (List a) | |
Ord a => Ord (List a) | |
Read a => Read (List a) | |
Show a => Show (List a) | |
Generic (List a) | |
Semigroup (List a) | |
Monoid (List a) | |
ToJSON a => ToJSON (List a) | |
Defined in Language.Haskell.LSP.Types.List | |
FromJSON a => FromJSON (List a) | |
NFData a => NFData (List a) | |
Defined in Language.Haskell.LSP.Types.List | |
type Rep (List a) | |
Defined in Language.Haskell.LSP.Types.List |
ideErrorText :: NormalizedFilePath -> Text -> FileDiagnostic Source #
showDiagnostics :: [FileDiagnostic] -> Text Source #
showDiagnosticsColored :: [FileDiagnostic] -> Text Source #