[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: |
Fri, 27 Jan 2006 14:16:01 -0500 |
So many other things I should do but:
David Kastrup <address@hidden> wrote:
> "Richard M. Stallman" <address@hidden> writes:
>
> > Return the car of cons cell CONS. If arg is nil, return nil.
> > Error if arg is not nil and not a cons cell. See also `car-safe'.
> >
> > How about this:
> >
> > Return the car of cons cell (or list) CONS. If arg is nil, return nil.
> > Error if arg is not nil and not a cons cell. See also `car-safe'.
>
> No, I liked, if at all, Alan's last suggestion better.
I preferred the version Miles wrote. It was very clear.
> Your wording suggests that a cons cell and a list are different
> things, but a cons cell.
Not sure what your intent here is, but a list and a cons cell are different. A
list is a structure made from cons cells and atoms. A cons cell is, er,
a cons cell. Thats why I liked Miles' version.
> And I think "car of a list" strange terminology, anyway. Lists have
> elements, not cars. I'd talk about "car of a cons" and "first element
> of a list".
Strange but more fun:
"the cadr of the list" -- now that sounds interesting
"the second element of the list" -- oh is that all.
--
Peter Whaite (http://whaite.ca)
- Re: Documentation for car and cdr, (continued)
- Re: Documentation for car and cdr, Luc Teirlinck, 2006/01/26
- Re: Documentation for car and cdr, Peter Whaite, 2006/01/26
- Re: Documentation for car and cdr, Kevin Rodgers, 2006/01/26
- Re: Documentation for car and cdr, Jose E. Marchesi, 2006/01/26
- Re: Documentation for car and cdr, Peter Whaite, 2006/01/26
- Re: Documentation for car and cdr, Richard M. Stallman, 2006/01/28
- Re: Documentation for car and cdr, Jason Rumney, 2006/01/26
- Re: Documentation for car and cdr, Richard M. Stallman, 2006/01/28
- Re: Documentation for car and cdr, Luc Teirlinck, 2006/01/28
- Re: Documentation for car and cdr, David Kastrup, 2006/01/26
- Re: Documentation for car and cdr,
Peter Whaite <=
- Re: Documentation for car and cdr, Luc Teirlinck, 2006/01/28
- Re: Documentation for car and cdr, Miles Bader, 2006/01/28
- Re: Documentation for car and cdr, Luc Teirlinck, 2006/01/28
- Re: Documentation for car and cdr, Miles Bader, 2006/01/28
- Re: Documentation for car and cdr, Luc Teirlinck, 2006/01/28
- RE: Documentation for car and cdr, Drew Adams, 2006/01/28
- RE: Documentation for car and cdr, Drew Adams, 2006/01/28
- RE: Documentation for car and cdr, Drew Adams, 2006/01/30
- Re: Documentation for car and cdr, Alan Mackenzie, 2006/01/26
- Re: Documentation for car and cdr, Tomas Zerolo, 2006/01/26