Catamorphism-Based Transformation of Functional Programs

Zhenjiang Hu,Hideya Iwasaki,Masato Takeichi
1994-01-01
Abstract:Accumulations are operators on structured object that proceed their computation on each element of the object keeping some intermediate results. Accumulations are widely used in the design of e cient sequential and parallel programs. The purpose of this paper is to deal with the transformation on accumulations so that more e cient programs can be derived. We formulate accumulations by means of higher order catamorphisms and propose a promotion theorem for accumulations. Some examples are given to explain our method.
What problem does this paper attempt to address?