[EMAIL PROTECTED] wrote:
On Thu, Jan 31, 2008 at 08:43:38PM -0800, David Brown wrote:
Lists are _not_ a primitive type in lisp, like they are in some other
language. Second is not a primitive, (car (cdr x)) is. If you try to
implement using lists instead of pairs, you'll get something very different
than lisp.
Well I'm not sure it would be *that* different visually. I mean...we've gotten
*this* far in SICP w/o conses right?
The only reason that SICP avoids cons in the first chapter is that it
deals *only* with purely numeric problems.
The moment you needed to create a new representation of anything, you
hit cons cells, car, cdr, list, etc.
-a
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg