HaRe-0.7.2.5: the Haskell Refactorer.

Safe HaskellNone

Language.Haskell.Refact.Refactoring.DupDef

Synopsis

Documentation

duplicateDef :: RefactSettings -> Cradle -> FilePath -> String -> SimpPos -> IO [FilePath]Source

This refactoring duplicates a definition (function binding or simple pattern binding) at the same level with a new name provided by the user. The new name should not cause name clash/capture.