[Haskell-cafe] ANNOUNCE: Haskell Refactorer (HaRe) version

AlanKim Zimmerman alan.zimm at gmail.com
Wed Sep 4 21:35:48 CEST 2013

I am please to announce an alpha release of the Haskell Refactorer making
use of the GHC API.

It is a work in progress, but currently supports the following refactorings

           Convert an if expression to a case expression

           Duplicate a definition

           Lift a declaration to the top level

           Lift a declaration one level

           Move a declaration down one level

           Rename an identifier

It offers emacs integration only at this point, based on the Wrangler elisp.

The underlying environment in terms of cabal file, sandbox, etc are managed
by ghc-mod via the internals exposed in version 2.1.2

There are some known issues (and bound to be plenty of unknown ones too).

The most damaging of these is that layout is not adjusted after renaming an
identifier if the new name is a different length. This affects
layout-sensitive code.

Installation instructions can be found at

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20130904/cfef12e4/attachment.htm>

More information about the Haskell-Cafe mailing list