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

Safe HaskellNone
LanguageHaskell2010

Language.Haskell.Tools.Refactor.Perform

Description

Defines common utilities for using refactorings. Provides an interface for both demo, command line and integrated tools.

Synopsis

Documentation

performCommand Source #

Arguments

:: (HasModuleInfo dom, DomGenerateExports dom, OrganizeImportsDomain dom, DomainRenameDefinition dom, ExtractBindingDomain dom, GenerateSignatureDomain dom) 
=> RefactorCommand 
-> ModuleDom dom

The module in which the refactoring is performed

-> [ModuleDom dom]

Other modules

-> Ghc (Either String [RefactorChange dom]) 

Executes a given command on the selected module and given other modules