Safe Haskell | None |
---|---|
Language | Haskell98 |
- addOneParameter :: RefactSettings -> Options -> FilePath -> String -> SimpPos -> IO [FilePath]
- compAddOneParameter :: FilePath -> String -> SimpPos -> RefactGhc [ApplyRefacResult]
- rmOneParameter :: RefactSettings -> Options -> FilePath -> SimpPos -> IO [FilePath]
- compRmOneParameter :: FilePath -> SimpPos -> RefactGhc [ApplyRefacResult]
Documentation
addOneParameter :: RefactSettings -> Options -> FilePath -> String -> SimpPos -> IO [FilePath] Source #
compAddOneParameter :: FilePath -> String -> SimpPos -> RefactGhc [ApplyRefacResult] Source #
rmOneParameter :: RefactSettings -> Options -> FilePath -> SimpPos -> IO [FilePath] Source #
The refactoring removes a user specified formal parameter in a function
binding,and the corresponding actual parameters in all calling places of this
function. The condition acompanying this refactoring is that the parameter to
be removed is not being used.
The SimpPos
should be somwewhere inside the parameter to be removed
compRmOneParameter :: FilePath -> SimpPos -> RefactGhc [ApplyRefacResult] Source #