The HaRe package
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
- Exposed modules use unallocated top-level names: Paths_HaRe
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.
For package maintainers and hackage trustees