Corrections of Lecture Notes on Lisp

  1. On page LISP-17, if we assume that the parents information is stored in properties parents, and nil is returned when parents information is not known, i.e.
    (defun parents (person)
    (get 'William 'parents))
    (setf (get 'William 'parents) '(John Sara))
    (setf (get 'Sara 'parents) '(Issac Mary))
    then the result of ancestors('William) [note the use of quotes] should be:
    (John Sara nil (Issac Mary nil nil))

  2. On page LISP-30, bottom, should be
    ... (expand (caar queue))
    instead of
    ... (expand (car queue))