HaRe: the Haskell Refactorer.

[ bsd3, development, refactoring ] [ Propose Tags ]

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.

From version, GHC 8.0.1 is supported.

From version, GHC 8.0.2 is supported.

It is tested against GHC 7.10.3, GHC 8.0.1 and GHC 8.0.2 (via travis-ci.org)

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

Versions [RSS] [faq] 0.6,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Change log ChangeLog
Dependencies base (>= && <5), Cabal, cabal-helper, containers, directory, filepath, ghc, ghc-exactprint (>=, ghc-mod (==5.8.0.*), ghc-syb-utils, gitrev (>=1.1), HaRe, hslogger, monad-control, mtl, optparse-applicative (==0.13.2.*), optparse-simple, Strafunski-StrategyLib, syb, syz [details]
License BSD-3-Clause
Author Chris Brown, Huiqing Li, Simon Thompson, Alan Zimmerman, Stephen Adams
Maintainer Alan Zimmerman (alan.zimm@gmail.com)
Category Development, Refactoring
Home page https://github.com/RefactoringTools/HaRe/wiki
Bug tracker http://github.com/RefactoringTools/HaRe/issues
Source repo head: git clone https://github.com/RefactoringTools/HaRe.git
Uploaded by AlanZimmerman at 2017-06-12T10:59:27Z
Distributions NixOS:
Executables ghc-hare
Downloads 32908 total (179 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2017-06-12 [all 1 reports]




Maintainer's Corner

For package maintainers and hackage trustees