[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Documentation for car and cdr
From: |
Karl Chen |
Subject: |
Re: Documentation for car and cdr |
Date: |
Wed, 25 Jan 2006 16:04:11 -0800 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
I agree with Alan Mackenzie's position that the docstring needs to
explain.
Yes, "car returns the first element of a list" is wrong. But that
doesn't mean we can't add something good, helpful in addition to
the precise statement that experienced lisp hackers want ("the car
function returns the car").
The information could be in the manual. Is there anything
currently? I couldn't find any nodes on "cons cells" or "cdr".
The Wikipedia (licensed under GFDL) entry for "Car and cdr" is
reasonably introductory and seems accurate as far as explaining
the special case of using of car/cdr in lists as first/butfirst.
http://en.wikipedia.org/wiki/Car_and_cdr
--
Karl 2006-01-25 15:58
- Re: Documentation for car and cdr, (continued)
- RE: Documentation for car and cdr, Drew Adams, 2006/01/26
- Re: Documentation for car and cdr, Miles Bader, 2006/01/25
- Re: Documentation for car and cdr, Miles Bader, 2006/01/25
- Re: Documentation for car and cdr, Lennart Borgman, 2006/01/25
- Re: Documentation for car and cdr, Alfred M\. Szmidt, 2006/01/25
- Re: Documentation for car and cdr, Thien-Thi Nguyen, 2006/01/25
- Re: Documentation for car and cdr, Alan Mackenzie, 2006/01/25
- Re: Documentation for car and cdr,
Karl Chen <=
- Re: Documentation for car and cdr, Luc Teirlinck, 2006/01/25
- Re: Documentation for car and cdr, Eli Zaretskii, 2006/01/25
- Re: Documentation for car and cdr, Miles Bader, 2006/01/26
- Re: Documentation for car and cdr, Thien-Thi Nguyen, 2006/01/25
- Re: Documentation for car and cdr, Alan Mackenzie, 2006/01/26
- Re: Documentation for car and cdr, Tomas Zerolo, 2006/01/26
- Re: Documentation for car and cdr, Thien-Thi Nguyen, 2006/01/26
- Re: Documentation for car and cdr, Luc Teirlinck, 2006/01/25
- Re: Documentation for car and cdr, Kim F. Storm, 2006/01/25
- Re: Documentation for car and cdr, Peter Whaite, 2006/01/25