Publication View

Compact Fusion (2008)

Abstract
There are many advantages to writing functional programs in a compositional style, such as clarity and modularity. However, the intermediate data structures produced may mean that the resulting program is inefficient in terms of space. These may be removed using deforestation techniques, but whether the space performance is actually improved depends upon the structures being consumed in the same order that they are produced. In this paper we explore this problem for the case when the intermediate structure is a list, and present a solution. We then formalise the space behaviour of our solution by means of program transformation techniques and the use of abstract machines.

Publication details
Download http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.62.1097
Source http://www.cs.nott.ac.uk/~gmh/compact.pdf
Contributors CiteSeerX
Repository CiteSeerX - Scientific Literature Digital Library and Search Engine (United States)
Keywords hylomorphism, space, fold, abstract machine
Type text
Language English
Relation 10.1.1.41.125, 10.1.1.110.5892, 10.1.1.47.1580, 10.1.1.34.1618, 10.1.1.31.8788, 10.1.1.103.2322