The text seems to have been corrected. The edition I have in front of
me shows the following:
> (look)
(YOU ARE IN THE LIVING-ROOM.
A WIZARD IS SNORING LOUDLY ON THE COUCH
THERE IS A DOOR GOING WEST FROM HERE
...)
(output snipped - I suspect the problem appeared on the first line for
you)
The edition I'm looking at is the No Starch printing of 2011 - no
revision history is given, but I suspect you're looking at another
edition, is this correct?
Interestingly, the code in my edition is substantially different from
the code on the downloadable sources, but it seems to work. Here's
what I'm looking at:
(defun walk (direction)
(let ((next (find direction
(cdr (assoc *location* *edges*))