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
November 1999