Shmuel (Seymour J.) Metz <spamt...@library.lspace.org.invalid> writes: > In <20120409111329....@kylheku.com>, on 04/09/2012 > at 06:55 PM, Kaz Kylheku <k...@kylheku.com> said: > >>Null-terminated C strings do the same thing. > > C arrays are not LISP strings; there is no C analog to car and cdr.
'car' and 'cdr' refer to cons cells in Lisp, not to strings. How the first/rest terminology can be sensibly applied to 'C strings' (which are similar to linked-lists in the sense that there's a 'special termination value' instead of an explicit length) was already explained elsewhere. -- http://mail.python.org/mailman/listinfo/python-list