f python?

Rainer Weikusat rweikusat at mssgmbh.com
Tue Apr 10 16:10:39 EDT 2012


Shmuel (Seymour J.) Metz <spamtrap at library.lspace.org.invalid> writes:
> In <20120409111329.694 at kylheku.com>, on 04/09/2012
>    at 06:55 PM, Kaz Kylheku <kaz at 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.



More information about the Python-list mailing list