(setcar): replace an antelope rather than

a giraffe with a hippopotamus.
This commit is contained in:
David Kastrup 2006-05-25 09:06:38 +00:00
parent 78b3f5c3fa
commit 2b1575dfcf
2 changed files with 6 additions and 1 deletions

View file

@ -7061,7 +7061,7 @@ The first element on the list, @code{antelope} is replaced by
@code{hippopotamus}.
So we can see that @code{setcar} did not add a new element to the list
as @code{cons} would have; it replaced @code{giraffe} with
as @code{cons} would have; it replaced @code{antelope} with
@code{hippopotamus}; it @emph{changed} the list.
@node setcdr, cons Exercise, setcar, car cdr & cons