HaRe-0.7.0.9: the Haskell Refactorer.

Safe HaskellNone

Language.Haskell.Refact.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.