HaRe-0.8.3.0: the Haskell Refactorer.

Safe HaskellNone
LanguageHaskell98

Language.Haskell.Refact.Refactoring.MoveDef

Synopsis

Documentation

liftToTopLevel :: RefactSettings -> Options -> FilePath -> SimpPos -> IO [FilePath] Source #

Lift a definition to the top level

liftOneLevel :: RefactSettings -> Options -> FilePath -> SimpPos -> IO [FilePath] Source #

Move a definition one level up from where it is now

demote :: RefactSettings -> Options -> FilePath -> SimpPos -> IO [FilePath] Source #

Move a definition one level down