© Gary D. Knott 2017

Gary D. Knott, Interpreting LISP, 10.1007/978-1-4842-2707-7_23

23. Property Lists

Gary D. Knott

(1)Civilized Software Inc., Silver Spring, Maryland, USA

Ordinary atoms have values, and it is often convenient to imagine that an ordinary atom has several values. This can be accomplished by making a list of these values and using this list as the value whose elements are the desired several values. Frequently, however, these multiple values are used to encode properties. This is so common that LISP provides special features to accommodate properties .

Abstractly, a property is a function. LISP only provides for properties that apply to ordinary atoms and whose values are S-expressions, and it establishes and uses a special set of ...

Get Interpreting LISP: Programming and Data Structures, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.