The latest version of HaRe is 0.8.4.1-1.

HaRe

Version 0.7.1.2 revision 0 uploaded by AlanZimmerman.

Package meta

Synopsis
the Haskell Refactorer.
Description

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 travis-ci.org)

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.

The renaming refactoring seems reasonably reliable.

Current known defects:

  • liftToTopLevel of a recursive function may introduce parameter errors. e.g. lifting g in the zmapQ function from 'syz-0.2.0.0' Data.Generics.Zipper results 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'
Author
Chris Brown, Huiqing Li, Simon Thompson, Alan Zimmerman
Bug reports
http://github.com/alanz/HaRe/issues
Category
Development, Refactoring
Copyright
n/a
Homepage
http://www.cs.kent.ac.uk/projects/refactor-fp
Maintainer
Alan Zimmerman
Package URL
n/a
Stability
Alpha

Components