(cons 'a '(b c)) => (a b c)
where each <condition> is tested in sequence, and the first that is true selects the <expression> that is the result of the cond function.
(> 'a 'b)
(= 'a 'b)
or special functions such as
In some versions of LISP (including ours) the ? may be omitted.
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
(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.
Last Updated 01/05/2000
© L.Heath, 2000