HaRe: the Haskell Refactorer.
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.
From version 0.8.4.0, 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
Modules
[Index]
- Language
- Haskell
- Refact
- Language.Haskell.Refact.API
- Language.Haskell.Refact.HaRe
- Refactoring
- Language.Haskell.Refact.Refactoring.AddRmParam
- Language.Haskell.Refact.Refactoring.Case
- Language.Haskell.Refact.Refactoring.DeleteDef
- Language.Haskell.Refact.Refactoring.DupDef
- Language.Haskell.Refact.Refactoring.GenApplicative
- Language.Haskell.Refact.Refactoring.MoveDef
- Language.Haskell.Refact.Refactoring.Renaming
- Language.Haskell.Refact.Refactoring.RoundTrip
- Language.Haskell.Refact.Refactoring.Simple
- Language.Haskell.Refact.Refactoring.SwapArgs
- Utils
- Language.Haskell.Refact.Utils.ExactPrint
- Language.Haskell.Refact.Utils.GhcBugWorkArounds
- Language.Haskell.Refact.Utils.GhcModuleGraph
- Language.Haskell.Refact.Utils.GhcUtils
- Language.Haskell.Refact.Utils.GhcVersionSpecific
- Language.Haskell.Refact.Utils.LocUtils
- Language.Haskell.Refact.Utils.Monad
- Language.Haskell.Refact.Utils.MonadFunctions
- Language.Haskell.Refact.Utils.Query
- Language.Haskell.Refact.Utils.Synonyms
- Language.Haskell.Refact.Utils.Transform
- Language.Haskell.Refact.Utils.TypeSyn
- Language.Haskell.Refact.Utils.TypeUtils
- Language.Haskell.Refact.Utils.Types
- Language.Haskell.Refact.Utils.Utils
- Language.Haskell.Refact.Utils.Variables
- Refact
- Haskell
- Paths_HaRe
Downloads
- HaRe-0.8.4.1.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 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, 0.8.4.0, 0.8.4.1 |
---|---|
Change log | ChangeLog |
Dependencies | base (>=4.8.1.0 && <4.10), Cabal, cabal-helper, containers, directory, filepath, ghc, ghc-exactprint (>=0.5.3.0), ghc-mod (>=5.8.0 && <5.8.1), ghc-syb-utils, gitrev (>=1.1), HaRe, hslogger, monad-control, mtl, optparse-applicative (>=0.13.2 && <0.13.3), optparse-simple, Strafunski-StrategyLib, syb, syz [details] |
Tested with | ghc ==7.10.3, ghc ==8.0.1, ghc ==8.0.2 |
License | BSD-3-Clause |
Author | Chris Brown, Huiqing Li, Simon Thompson, Alan Zimmerman, Stephen Adams |
Maintainer | Alan Zimmerman (alan.zimm@gmail.com) |
Revised | Revision 1 made by AndreasAbel at 2022-07-28T11:46:05Z |
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 | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Executables | ghc-hare |
Downloads | 36094 total (42 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2017-06-12 [all 1 reports] |