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.

The renaming refactoring seems reasonably reliable.


Versions 0.6,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Change log ChangeLog
Dependencies array, base (>=4.0 && <4.7), containers, directory, dual-tree, filepath, ghc, ghc-mod (>=3.1.6), 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 Mar 18 06:18:25 UTC 2014 by AlanZimmerman
Distributions LTSHaskell:, NixOS:, Tumbleweed:
Downloads 7713 total (73 in the last 30 days)
0 []
Status Docs not available [build log]
All reported builds failed as of 2015-12-08 [all 5 reports]


  • Language
    • Haskell
      • Refact
        • Language.Haskell.Refact.Case
        • Language.Haskell.Refact.DupDef
        • Language.Haskell.Refact.MoveDef
        • Language.Haskell.Refact.Renaming
        • Language.Haskell.Refact.SwapArgs
        • Utils
          • Language.Haskell.Refact.Utils.DualTree
          • Language.Haskell.Refact.Utils.GhcBugWorkArounds
          • Language.Haskell.Refact.Utils.GhcModuleGraph
          • Language.Haskell.Refact.Utils.GhcUtils
          • Language.Haskell.Refact.Utils.GhcVersionSpecific
          • Language.Haskell.Refact.Utils.Layout
          • Language.Haskell.Refact.Utils.LayoutTypes
          • Language.Haskell.Refact.Utils.LocUtils
          • Language.Haskell.Refact.Utils.Monad
          • Language.Haskell.Refact.Utils.MonadFunctions
          • Language.Haskell.Refact.Utils.RenamedSourceUtils
          • 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
  • Paths_HaRe


Maintainer's Corner

For package maintainers and hackage trustees