Functions as Data Objects: The Implementation of Functions in LISP,
Abstract
This paper discusses the manner in which functions are defined and manipulated in various dialects of the LISP language. It is argued that the syntax and mechanisms which are usually provided to accomplish such things as passing functions as arguments and returning them as values are unnecessarily inconsistent and clumsy. An alternative scheme for implementing functions in LISP is presented. It is based on the concept of a 'linker node', a construct used in Wisconsin/Maryland LISP, and allows greater uniformity in the handling of different types of functions. The advantages of being able to handle functions in the same ways as other common data structures are demonstrated. One possible function syntax is outlined and coded. (Author)
Document Details
- Document Type
- Technical Report
- Publication Date
- Jan 01, 1979
- Accession Number
- ADA084126
Entities
People
- Philip Agre
Organizations
- University of Maryland