f python?

Devin Jeanpierre jeanpierreda at gmail.com
Tue Apr 10 10:32:56 EDT 2012


On Tue, Apr 10, 2012 at 6:52 AM, Shmuel  Metz
<spamtrap at library.lspace.org.invalid> wrote:
> 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.

The post you're criticising specifically gave a definition for cdr
that had the semantics he wanted. "where cdr(s) is conveniently
defined as s + 1."

(car can be defined as s[0]). The real difference is the lack of error
checking and the lack of cons.

-- Devin



More information about the Python-list mailing list