The HaRe package

[Tags: bsd3]

A Haskell 2010 refactoring tool. HaRe supports the full Haskell 2010 standard, through making use of the GHC API.

Version supports up to GHC 7.6.3.

There is no support for GHC 7.8.x. There will never be support for GHC 7.8.x

From version, GHC 7.10.2 is supported.

It is tested against GHC 7.10.2 (via

It currently only has emacs integration built in, community input welcome for others.

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.

Even so, it is strongly advised to back up any source files before refactoring, as we can make no promises as to the reliability of this tool. Use at your own risk.

At the moment parsing of any file with FFI exports will fail.

See Language.Haskell.Refact.HaRe for the current list of refactorings supported


Change logChangeLog
Dependenciesarray, base (>= && <4.9), Cabal (>=1.22), cabal-helper, containers, directory, filepath, ghc, ghc-exactprint (>=0.4.1), ghc-mod (>=5.4), ghc-paths, ghc-prim, ghc-syb-utils, HaRe (>=0.8), hslogger, monad-control, monoid-extras, mtl, old-time, parsec (>=3.1.6), pretty, rosezipper, semigroups, Strafunski-StrategyLib, syb, syz, time, transformers, transformers-base [details]
AuthorChris Brown, Huiqing Li, Simon Thompson, Alan Zimmerman
MaintainerAlan Zimmerman
CategoryDevelopment, Refactoring
Home page
Bug tracker
Source repositoryhead: git clone
UploadedWed Oct 7 19:30:48 UTC 2015 by AlanZimmerman
Downloads5930 total (296 in last 30 days)
0 []
StatusDocs uploaded by user
Build status unknown [no reports yet]




Maintainers' corner

For package maintainers and hackage trustees