norvig/paip-lisp

Errata for chapter 3

wizardgeorgiev opened this issue · 0 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