apply-refact-0.4.1.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) #

Peform a Refactoring.

applyRefactorings :: Maybe (Int, Int) -> [(String, [Refactoring SrcSpan])] -> FilePath -> IO String #

Apply a set of refactorings as supplied by hlint

Support for runPipe in the main process