next up previous
Contents Next: Association Lists Up: Lisp Primer Previous: Exercises

Simple Data Structures in Lisp

Many applications of Lisp involve storing a variety of values associated with a symbolic name. Association lists and property lists provide two ways of doing this, unique to Lisp. Arrays, vectors and strings are also used for data storage and manipulation. Their use is similar to programming languages other than Lisp. Defstruct provides a way to create customized data structures.





© Colin Allen & Maneesh Dhagat
March 2007