© University of Kent - Contact | Feedback | Legal | Cookies
The University of Kent, Canterbury, Kent, CT2 7NZ, T +44 (0)1227 764000
Refactoring is the process of changing the structure of a program while preserving its behaviour. This behaviour preservation is crucial so that refactorings do not introduce any bugs. Refactoring is aimed at increasing code quality, programming productivity and code reuse. Refactoring has been practised manually by programmers for as long as programs have been written; however, with the advent of refactoring tools, refactoring can be performed semi-automatically, allowing refactorings to be performed (and undone) easily.
In this paper, we briefly describe a number of refactorings implemented in the Haskell Refactorer, HaRe. In addition to this, we also implement a simple expression processor to demonstrate how some of the refactorings implemented in HaRe can be used to aid programmers in developing Haskell software.
Download publication 173 kbytes (PDF)
@inproceedings{3009,
author = {Christopher Brown and Huiqing Li and Simon Thompson},
title = {{An Expression Processor: A Case Study in Refactoring Haskell Programs}},
month = {May},
year = {2010},
pages = {15pp},
keywords = {refactoring, verification, Isabelle, program extraction, proof},
note = {},
doi = {},
url = {http://www.cs.kent.ac.uk/pubs/2010/3009},
publication_type = {inproceedings},
submission_id = {2225_1273563871},
booktitle = {Eleventh Symposium on Trends in Functional Programming},
editor = {Rex Page},
refereed = {preliminary refereeing},
}