Leftover Curry and Reheated Pizza: How Functional Programming Nourishes Software Reuse

  • Authors:
  • M. Odersky;P. Wadler

  • Affiliations:
  • -;-

  • Venue:
  • ICSR '98 Proceedings of the 5th International Conference on Software Reuse
  • Year:
  • 1998

Quantified Score

Hi-index 0.00

Visualization

Abstract

Functional programmers and reuse engineers dine at the same table. Delicacies like type abstraction and higher-order functions are meat and potatoes for those who need to reuse code parameterised by types and operations.The talk will start with a review of modern functional languages. Isolation has given way to systems that interact with C and COM components. Code quality can rival C. Functional programs deliver calls in Brussels, route planes through Paris, and play CDs over networks at Cornell.The talk will then describe Pizza, an attempt to make functional ideas accessible to a wider community by embedding them in Java. Pizza contains Java as a subset, so its easy to learn, and it compiles to the Java Virtual Machine, so it runs anywhere Java runs, including web browsers. We will focus on how Pizza is designed to add parametric types on top of existing Java libraries, enhancing reuse.Applications of functional languages have been described elsewhere [Wad98]; this paper describes salient features of the latest version of Pizza.