haskell-tools-refactor-1.1.1.0: Refactoring Tool for Haskell

Safe HaskellNone
LanguageHaskell2010

Language.Haskell.Tools.Refactor.Refactoring

Description

Defines a representation to represent refactorings that can be executed on the codebase. Refactorings are differentiated on their signatures (inputs needed to execute).

Synopsis

Documentation

performCommand Source #

Arguments

:: [RefactoringChoice]

The set of available refactorings

-> [String]

The refactoring command

-> Either FilePath ModuleDom

The module in which the refactoring is performed

-> [ModuleDom]

Other modules

-> Ghc (Either String [RefactorChange]) 

Executes a given command (choosen from the set of available refactorings) on the selected module and given other modules.

refactorCommands :: [RefactoringChoice] -> [String] Source #

Gets the name of possible refactorings.