Subject: Re: NEED HELP PLEASE
From: Erik Naggum <clerik@naggum.no>
Date: 1998/06/28
Newsgroups: comp.lang.lisp
Message-ID: <3108053756976991@naggum.no>


* Stig Hemmer
| Keep the boxes and their car pointers in the same places as the first
| diagram and just move the cdr pointers.

  in the interest of being the least _directly_ helpful on this homework
  assignment, isn't he better off keeping the CDRs and swapping the CARs?

| PS: Are they called "first and rest pointers" these days?

  never seen these function names used to name "pointers".  CAR and CDR are
  still the low-level implementation details of a CONS, while FIRST and
  REST refer to a particular view of the CONS, namely when used as a list.

#:Erik
-- 
  http://www.naggum.no/spam.html is about my spam protection scheme and how
  to guarantee that you reach me.  in brief: if you reply to a news article
  of mine, be sure to include an In-Reply-To or References header with the
  message-ID of that message in it.  otherwise, you need to read that page.