apply-refact-0.6.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

data Verbosity Source #

Constructors

Silent 
Normal 
Loud 
Instances
Eq Verbosity Source # 
Instance details

Defined in Refact.Apply

Ord Verbosity Source # 
Instance details

Defined in Refact.Apply

Show Verbosity Source # 
Instance details

Defined in Refact.Apply