apply-refact-0.5.0.0: Perform refactorings specified by the refact library.

Safe HaskellNone
LanguageHaskell2010

Refact.Apply

Contents

Synopsis

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