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 0.7.2.8 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 0.8.0.0, GHC 7.10.2 is supported.

From version 0.8.3.0, GHC 8.0.1 is supported.

It is tested against GHC 7.10.3 and GHC 8.0.1 (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

Properties

Versions 0.6, 0.6.0.1, 0.6.0.2, 0.7.0.0, 0.7.0.1, 0.7.0.2, 0.7.0.3, 0.7.0.4, 0.7.0.5, 0.7.0.6, 0.7.0.7, 0.7.0.8, 0.7.0.9, 0.7.1.0, 0.7.1.1, 0.7.1.2, 0.7.1.3, 0.7.1.4, 0.7.1.5, 0.7.1.6, 0.7.1.7, 0.7.2.0, 0.7.2.1, 0.7.2.2, 0.7.2.3, 0.7.2.4, 0.7.2.5, 0.7.2.6, 0.7.2.7, 0.7.2.8, 0.8.0.0, 0.8.1.0, 0.8.1.1, 0.8.2.0, 0.8.2.1, 0.8.2.2, 0.8.2.3, 0.8.3.0
Change log ChangeLog
Dependencies array, base (>=4.8.1.0 && <5), Cabal (>=1.22), cabal-helper, containers, directory, filepath, ghc, ghc-exactprint (>=0.5.2.1), ghc-mod (>=5.6.0.0), ghc-paths, ghc-prim, ghc-syb-utils, gitrev (>=1.1), HaRe (>=0.8.2.1), hslogger, monad-control, monoid-extras, mtl, old-time, optparse-applicative, optparse-simple, parsec (>=3.1.6), pretty, rosezipper, semigroups, Strafunski-StrategyLib, syb, syz, time, transformers, transformers-base [details]
License BSD3
Author Chris Brown, Huiqing Li, Simon Thompson, Alan Zimmerman
Maintainer Alan Zimmerman (alan.zimm@gmail.com)
Stability Alpha
Category Development, Refactoring
Home page https://github.com/RefactoringTools/HaRe/wiki
Bug tracker http://github.com/RefactoringTools/HaRe/issues
Source repository head: git clone https://github.com/RefactoringTools/HaRe.git
Uploaded Wed Aug 3 11:06:18 UTC 2016 by AlanZimmerman
Distributions LTSHaskell:0.8.3.0, NixOS:0.8.3.0, Tumbleweed:0.8.2.3
Downloads 7646 total (56 in the last 30 days)
Votes
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees