David Brown wrote:

When I take the 'cdr' of a list, I have a pointer to the second element of
the list.

No, you have a pointer to *another* list.

This new list is the old list *with the first element choppsed off*.

That's an important distinction.

Original list:

|1|V|    |2|V|    nil (nil represents the empty list '() )
   |------^ |------^

(car orig) ===
1 (*NOT* a cons cell)

(cdr orig) ===
|2|V|    nil (nil represents the empty list '() )
   |------^

-a

--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg

Reply via email to