@hackage HaRe0.7.0.7
the Haskell Refactorer.
Categories
License
BSD-3-Clause
Maintainer
Alan Zimmerman
Links
Versions
Installation
Dependencies (19)
- Strafunski-StrategyLib
- base >=4.0 && <4.7
- containers
- directory
- filepath
- ghc Show all…
Dependents (1)
@hackage/acme-everything
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
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.
Current known defects:
After renaming, the layout of nested let/where clauses is not adjusted. This can cause problems if the new name is a different length from the old one.
liftToTopLevel of a recursive function may introduce parameter errors. e.g. lifting
gin thezmapQfunction from 'syz-0.2.0.0'Data.Generics.Zipperresults in the following
zmapQ f z = reverse $ downQ [] g z where
g z' = query f z' : leftQ [] g z'becomes
zmapQ f z = reverse $ downQ [] (g f g)z g f z'g= query f z' : leftQ [] (g f g)g f g)z'