HaRe-0.7.0.6: the Haskell Refactorer.

Safe HaskellNone

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