Shmuel (Seymour J.) Metz <[email protected]> writes: > In <[email protected]>, on 04/09/2012 > at 06:55 PM, Kaz Kylheku <[email protected]> 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
