HaRe: the Haskell Refactorer.
A Haskell 2010 refactoring tool. HaRe supports the full Haskell 2010 standard, through making use of the GHC API.
It is tested against GHC 7.4.x and 7.6.x (via travis-ci.org)
It currently only has emacs integration built in, community input welcome for others.
Warning: This is alpha code. Always commit code to your version control system before refactoring. The developers make no warranties, use at your own risk.
Despite the disclaimer, HaRe attempts to operate in a safe way, by first writing new files with proposed changes, and only swapping these with the originals when the change is accepted. In the process the original file is renamed to have the current date/time as a suffix. Thus it should be possible to (manually) undo changes.
The renaming refactoring seems reasonably reliable, as does lifting and demoting
At the moment parsing of any file with FFI exports will fail.
Modules
[Index]
- Language
- Haskell
- Refact
- Language.Haskell.Refact.API
- Language.Haskell.Refact.HaRe
- Refactoring
- Utils
- Language.Haskell.Refact.Utils.GhcBugWorkArounds
- Language.Haskell.Refact.Utils.GhcModuleGraph
- Language.Haskell.Refact.Utils.GhcUtils
- Language.Haskell.Refact.Utils.GhcVersionSpecific
- Language.Haskell.Refact.Utils.LocUtils
- Language.Haskell.Refact.Utils.Monad
- Language.Haskell.Refact.Utils.MonadFunctions
- Language.Haskell.Refact.Utils.TokenUtils
- Language.Haskell.Refact.Utils.TokenUtilsTypes
- Language.Haskell.Refact.Utils.TypeSyn
- Language.Haskell.Refact.Utils.TypeUtils
- Language.Haskell.Refact.Utils.Utils
- Refact
- Haskell
- Paths_HaRe
Downloads
- HaRe-0.7.2.4.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates