The HaRe package


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

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. May frighten children and dogs.

The renaming refactoring seems reasonably reliable.

Current known defects:

  zmapQ f z = reverse $ downQ [] g z where
       g z' = query f z' : leftQ [] g z'


  zmapQ f z = reverse $ downQ [] (g f g)z

  g f z'g= query f z' : leftQ [] (g f g)g f g)z'


Versions 0.6,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Dependencies array, base (>=4.0 && <4.7), containers, directory, dual-tree, filepath, ghc, ghc-mod (>=3.1.4), ghc-paths, ghc-prim, ghc-syb-utils, HaRe (>=, hslogger, monoid-extras, mtl, old-time, parsec, pretty, rosezipper, semigroups, Strafunski-StrategyLib, syb, syz, time, transformers [details]
License BSD3
Author Chris Brown, Huiqing Li, Simon Thompson, Alan Zimmerman
Maintainer Alan Zimmerman
Stability Alpha
Category Development, Refactoring
Home page
Bug tracker
Source repository head: git clone
Uploaded Tue Jan 28 21:25:47 UTC 2014 by AlanZimmerman
Distributions LTSHaskell:, NixOS:, Tumbleweed:
Downloads 7791 total (148 in the last 30 days)
0 []
Status Docs available [build log]
Successful builds reported [all 2 reports]




Maintainer's Corner

For package maintainers and hackage trustees