next up previous
Contents Next: * (FUNCTION) Up: Lisp Primer Previous: Defmacro

Appendix: Selected Lisp primitives

Entries are described as FUNCTIONS, PREDICATES, MACROS, or SPECIAL FORMS.

FUNCTIONS evaluate all their arguments and return a value.

PREDICATES are functions that always return either t or nil.

MACROS and SPECIAL FORMS do not always evaluate all their arguments.

Currently approximately 40 Lisp primitives are documented here. Eventually just over 100 primitives will be documented.

We adopt the convention of using angle brackets < > to indicate where appropriate text should be inserted when using these primitives; the examples should make this clear.

In many of the descriptions below, the notion of list is used when either a list or a Lisp data type known as the dotted pair would be acceptable. Beginners generally need not use dotted pairs, so they are ignored for the sake of simplicity here.





© Colin Allen & Maneesh Dhagat
March 2007