["Followup-To:" header set to comp.lang.lisp.] On 2012-04-11, Shmuel Metz <spamt...@library.lspace.org.invalid> wrote: > In <87wr5nl54w....@sapphire.mobileactivedefense.com>, on 04/10/2012 > at 09:10 PM, Rainer Weikusat <rweiku...@mssgmbh.com> said: > >>'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) > > A syringe is similar to a sturgeon in the sense that they both start > with S. LISP doesn't have arrays, and C doesn't allow you to insert > into the middle of an array.
Lisp, however, has arrays. (Not to mention hash tables, structures, and classes). Where have you been since 1960-something? (let ((array #(1 2 3 4))) (aref array 3)) ;; -> 4, O(1) access -- http://mail.python.org/mailman/listinfo/python-list