[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Documentation for car and cdr
From: |
David Kastrup |
Subject: |
Re: Documentation for car and cdr |
Date: |
Wed, 25 Jan 2006 13:47:23 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Andreas Schwab <address@hidden> writes:
> David Kastrup <address@hidden> writes:
>
>> But only true lists have elements like those you write about, dotted
>> lists haven't.
>
> Which is why they are called dotted pairs.
(info "(elisp) Cons Cells")
[...]
If the CDR of a list's last cons cell is some other value, neither
`nil' nor another cons cell, we call the structure a "dotted list",
since its printed representation would use `.'. There is one other
possibility: some cons cell's CDR could point to one of the previous
cons cells in the list. We call that structure a "circular list".
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
- Documentation for car and cdr, Mario Domenech Goulart, 2006/01/24
- Re: Documentation for car and cdr, Richard M. Stallman, 2006/01/25
- Re: Documentation for car and cdr, Alan Mackenzie, 2006/01/25
- Re: Documentation for car and cdr, Bill Atkins, 2006/01/25
- Re: Documentation for car and cdr, Alan Mackenzie, 2006/01/25
- Re: Documentation for car and cdr, Bill Atkins, 2006/01/25
- Re: Documentation for car and cdr, David Kastrup, 2006/01/25
- Re: Documentation for car and cdr, Thien-Thi Nguyen, 2006/01/25
- Re: Documentation for car and cdr, Lennart Borgman, 2006/01/25
- Re: Documentation for car and cdr, Thien-Thi Nguyen, 2006/01/25
- RE: Documentation for car and cdr, Drew Adams, 2006/01/26