[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Documentation for car and cdr

From: Peter Whaite
Subject: Re: Documentation for car and cdr
Date: Wed, 25 Jan 2006 18:31:51 -0500

Kim F. Storm <address@hidden> wrote:
> I fully agree, but notice that the doc strings for car and cdr 
> say that the arg is "list".  I think that part of the confusion
> is that a "pure" list does have a head and a tail and car==head
> and cdr==tail.

Yes exactly right.  As it is now the  doc string gives the
misleading impression that c[ad]r operate on lists when they don't.

Peter Whaite

reply via email to

[Prev in Thread] Current Thread [Next in Thread]