Notes and hints on Programming Project 3

Corrections and additions to the original assignment handed out in class:

other notes

  1. The original test data had a couple errors, make sure you get a copy after 3/11. In particular the return from
    (nth_item 2 '(a b c d)) should be B not BC
  2. The comment symbol in lisp is ;
    lisp will ignore anything after a semicolon on a line.
  3. To return the symbol *error* (or any symbol for that matter), use the quote special form, described in class: either '*error* or (quote *error*)
  4. The emacs editor is very useful for interactively writing and debugging lisp programs: