HaRe-0.7.2.5: the Haskell Refactorer.

Safe HaskellNone

Language.Haskell.Refact.Refactoring.MoveDef

Synopsis

Documentation

liftToTopLevel :: RefactSettings -> Cradle -> FilePath -> SimpPos -> IO [FilePath]Source

Lift a definition to the top level

liftOneLevel :: RefactSettings -> Cradle -> FilePath -> SimpPos -> IO [FilePath]Source

Move a definition one level up from where it is now

demote :: RefactSettings -> Cradle -> FilePath -> SimpPos -> IO [FilePath]Source

Move a definition one level down