Safe Haskell | None |
---|---|
Language | Haskell98 |
- data Correction = Correction {}
- correct :: Correction -> EditM String ()
- corrections :: [OutputMessage] -> [Correction]
- autoFix_ :: [Correction] -> EditM String ()
- autoFix :: [Correction] -> [Correction] -> EditM String [Correction]
- updateRegion :: Correction -> EditM String Correction
- type CorrectorMatch = FilePath -> Point -> String -> Maybe Correction
- correctors :: [CorrectorMatch]
- match :: String -> ((Int -> Maybe String) -> FilePath -> Point -> Correction) -> CorrectorMatch
- findCorrector :: FilePath -> Point -> String -> Maybe Correction
- class Canonicalize a where
- canonicalize :: a -> IO a
- module Data.Mark
Documentation
data Correction Source
Correction | |
|
correct :: Correction -> EditM String () Source
corrections :: [OutputMessage] -> [Correction] Source
autoFix_ :: [Correction] -> EditM String () Source
Apply corrections
autoFix :: [Correction] -> [Correction] -> EditM String [Correction] Source
Apply corrections and update rest correction positions
type CorrectorMatch = FilePath -> Point -> String -> Maybe Correction Source
match :: String -> ((Int -> Maybe String) -> FilePath -> Point -> Correction) -> CorrectorMatch Source
findCorrector :: FilePath -> Point -> String -> Maybe Correction Source
class Canonicalize a where Source
Canonicalize all paths within something
canonicalize :: a -> IO a Source
module Data.Mark