Safe Haskell | None |
---|---|
Language | Haskell98 |
Synopsis
- data Severity
- data Note a = Note {
- _noteSource :: ModuleLocation
- _noteRegion :: Region
- _noteLevel :: Maybe Severity
- _note :: a
- noteSource :: forall a. Lens' (Note a) ModuleLocation
- noteRegion :: forall a. Lens' (Note a) Region
- noteLevel :: forall a. Lens' (Note a) (Maybe Severity)
- note :: forall a a. Lens (Note a) (Note a) a a
- data OutputMessage = OutputMessage {}
- message :: Lens' OutputMessage Text
- messageSuggestion :: Lens' OutputMessage (Maybe Text)
- outputMessage :: Text -> OutputMessage
Documentation
Note severity
Instances
Bounded Severity Source # | |
Enum Severity Source # | |
Eq Severity Source # | |
Ord Severity Source # | |
Defined in HsDev.Tools.Types | |
Read Severity Source # | |
Show Severity Source # | |
NFData Severity Source # | |
Defined in HsDev.Tools.Types | |
ToJSON Severity Source # | |
Defined in HsDev.Tools.Types | |
FromJSON Severity Source # | |
FromField Severity Source # | |
Defined in HsDev.Database.SQLite.Instances | |
ToField Severity Source # | |
Defined in HsDev.Database.SQLite.Instances |
Note over some region
Note | |
|
Instances
Functor Note Source # | |
Eq a => Eq (Note a) Source # | |
Ord a => Ord (Note a) Source # | |
Show a => Show (Note a) Source # | |
NFData a => NFData (Note a) Source # | |
Defined in HsDev.Tools.Types | |
ToJSON a => ToJSON (Note a) Source # | |
Defined in HsDev.Tools.Types | |
FromJSON a => FromJSON (Note a) Source # | |
FromRow a => FromRow (Note a) Source # | |
Defined in HsDev.Database.SQLite.Instances | |
ToRow a => ToRow (Note a) Source # | |
Defined in HsDev.Database.SQLite.Instances | |
Regioned a => Regioned (Note a) Source # | |
Defined in HsDev.Tools.AutoFix regions :: Traversal' (Note a) Region # | |
Paths (Note a) Source # | |
Defined in HsDev.Tools.Types | |
RecalcTabs (Note a) Source # | |
noteSource :: forall a. Lens' (Note a) ModuleLocation Source #
data OutputMessage Source #
Output message from some tool (ghc, ghc-mod, hlint) with optional suggestion
Instances
outputMessage :: Text -> OutputMessage Source #