Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- runRefactoring :: Data a => Anns -> a -> Refactoring SrcSpan -> State Int (Anns, a)
- applyRefactorings :: Maybe (Int, Int) -> [(String, [Refactoring SrcSpan])] -> FilePath -> IO String
- data Verbosity
- rigidLayout :: DeltaOptions
- removeOverlap :: Verbosity -> [(String, [Refactoring SrcSpan])] -> [(String, [Refactoring SrcSpan])]
- refactOptions :: PrintOptions Identity String
Documentation
runRefactoring :: Data a => Anns -> a -> Refactoring SrcSpan -> State Int (Anns, a) Source #
Peform a Refactoring
.
applyRefactorings :: Maybe (Int, Int) -> [(String, [Refactoring SrcSpan])] -> FilePath -> IO String Source #
Apply a set of refactorings as supplied by hlint
Support for runPipe in the main process
removeOverlap :: Verbosity -> [(String, [Refactoring SrcSpan])] -> [(String, [Refactoring SrcSpan])] Source #