Proceedings of the 2008 ACM SIGPLAN Symposium on Partial Evaluation and Semantics-Based Program Manipulation 2008
DOI: 10.1145/1328408.1328437
|View full text |Cite
|
Sign up to set email alerts
|

Tool support for refactoring functional programs

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 synta… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
13
0

Year Published

2008
2008
2022
2022

Publication Types

Select...
3
3
2

Relationship

3
5

Authors

Journals

citations
Cited by 27 publications
(13 citation statements)
references
References 4 publications
(1 reference statement)
0
13
0
Order By: Relevance
“…Wrangler Wrangler [Li and Thompson(2008)] supports both Emacs (with Distel) and Eclipse. The refactoring palette contains seven transformation and two search options.…”
Section: Refactoring Toolsmentioning
confidence: 99%
“…Wrangler Wrangler [Li and Thompson(2008)] supports both Emacs (with Distel) and Eclipse. The refactoring palette contains seven transformation and two search options.…”
Section: Refactoring Toolsmentioning
confidence: 99%
“…HaRe is implemented in Haskell using the Programatica frontend [9], and Strafunski [6]. More detailed explanation of the implementation of HaRe can be found in [7].…”
Section: The Implementation Languagementioning
confidence: 99%
“…After a refactoring, instead of pretty-printing the AST, we extract the source code from the transformed token stream. More details are presented in [7].…”
Section: Program Appearance Preservationmentioning
confidence: 99%
See 1 more Smart Citation
“…The Haskell Refactorer HaRe [Li et al, 2003] is an exception, and provides an example of a real-life project in which a genericprogramming technique (Strafunski [Lämmel and Visser, 2002]) is used to implement traversals over a large abstract syntax tree. However, this project contains several other components that could have been implemented using generic-programming techniques, such as rewriting, unification, and pretty-printing modules.…”
Section: Introductionmentioning
confidence: 99%