Abstract
The worker/wrapper transformation is a general way of changing the type of a recursive definition, usually applied with an eye to increasing algorithmic efficiency. This note identifies an infelicity in the program transformations presented by Gill & Hutton (The worker/wrapper transformation, J. Funct. Program., vol. 19, 2009, pp. 227-251) and proposes a new totally correct worker/wrapper fusion rule.
Original language | English |
---|---|
Pages (from-to) | 209-213 |
Number of pages | 5 |
Journal | Journal of Functional Programming |
Volume | 21 |
Issue number | 2 |
DOIs | |
Publication status | Published - Mar 2011 |