Abstract
In this paper we present a method of directly translating higher order functions from functional programs into object-oriented programs. We show how to pass methods to generalized algorithms in pure object-oriented languages without extending the language. The translation allows partial parameterization, including currying, and conforms to strong typing. Finally we compare our method with conventional object-oriented approaches in terms of locality and reusability.
Publisher
Association for Computing Machinery (ACM)
Reference9 articles.
1. Ellie language definition report
2. Iterators
3. [
4
]
Richard
Bird
and
Philip
Wadler
.
Introduction to Functional Programming. C. A. R
.
Hoare Series
.
Prentice Hall International 1988
. [4] Richard Bird and Philip Wadler. Introduction to Functional Programming . C. A. R. Hoare Series. Prentice Hall International 1988.