Tool support for refactoring functional programs
Authors:
Open Access
- 7 January 2008
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 199-203
Abstract
We demonstrate the Haskell Refactorer, HaRe, and the Erlang Refactorer, Wrangler, as examples of fully-functional refactoring tools for functional programming languages. HaRe and Wrangler are designed to handle multi-module projects in complete languages: Haskell 98 and Erlang/OTP. They are embedded in Emacs (and gVim) and respect programmer layout styles. In discussing the construction of HaRe and Wrangler, we comment on the different challenges presented by Haskell and Erlang due to their differences in syntax, semantics and pragmatics. In particular, we examine the sorts of analysis that underlie our systems. Finally, drawing on our experience, we examine features common to functional refactorings, and contrast these with refactoring in the object-oriented domain.Keywords
This publication has 3 references indexed in Scilit:
- Comparative Study of Refactoring Haskell and Erlang Programs2006
- The Haskell Refactorer, HaRe, and its APIElectronic Notes in Theoretical Computer Science, 2005
- Tool support for refactoring functional programs2003