Safe Haskell | None |
---|
Language.Haskell.Refact.MoveDef
- liftToTopLevel :: RefactSettings -> Cradle -> FilePath -> SimpPos -> IO [FilePath]
- liftOneLevel :: RefactSettings -> Cradle -> FilePath -> SimpPos -> IO [FilePath]
- demote :: RefactSettings -> Cradle -> FilePath -> SimpPos -> IO [FilePath]
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