HaRe-0.8.3.0: the Haskell Refactorer.

Safe HaskellNone
LanguageHaskell98

Language.Haskell.Refact.Refactoring.AddRmParam

Synopsis

Documentation

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