Functional Languages


LISP Control Function

The null atom is the non-existant element of an empty list; thus there is a significant difference between the empty list () and the null atom. Thus

(car '()) => nil


(Note: the above comment is somewhat confusing. With our LISP interpreter, there doesn't seem to be the significant difference mentioned above. For example, (= '() (car '())) returns t.)


The list of implemented functions in our version of the LISP interpreter is here.

[TOC][Next]

CS1104 Main Page
Last Updated 01/05/2000
© L.Heath, 2000