norvig / paip-lisp

Lisp code for the textbook "Paradigms of Artificial Intelligence Programming"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Errata for chapter 3

marcellowoods opened this issue · comments

(let ((numbers '(1234 5)))
(format t "&{r^ plus ~} is ~@r"
numbers (apply #'+ numbers)))

should be:

(let ((numbers '(1 2 3 4 5)))
(format t "&{r^ plus ~} is ~@r"
numbers (apply #'+ numbers)))

to get the output -> one plus two plus three plus four plus five is XV