Safe Haskell | None |
---|---|
Language | Haskell98 |
- data Correction = Correction {}
- correctionMessage :: Lens' Correction String
- corrector :: Lens' Correction (Replace String)
- correct :: Correction -> Edit String
- corrections :: [Note OutputMessage] -> [Note Correction]
- autoFix :: ApplyMap r => [Correction] -> EditM String r ()
- type CorrectorMatch = Note OutputMessage -> Maybe (Note Correction)
- correctors :: [CorrectorMatch]
- match :: String -> ((Int -> Maybe String) -> Region -> Correction) -> CorrectorMatch
- findCorrector :: Note OutputMessage -> Maybe (Note Correction)
- module Data.Text.Region
- module HsDev.Tools.Types
Documentation
data Correction Source
correct :: Correction -> Edit String Source
corrections :: [Note OutputMessage] -> [Note Correction] Source
type CorrectorMatch = Note OutputMessage -> Maybe (Note Correction) Source
match :: String -> ((Int -> Maybe String) -> Region -> Correction) -> CorrectorMatch Source
findCorrector :: Note OutputMessage -> Maybe (Note Correction) Source
module Data.Text.Region
module HsDev.Tools.Types