[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lists.texi
From: |
Richard Stallman |
Subject: |
Re: lists.texi |
Date: |
Mon, 20 Jun 2005 13:52:08 -0400 |
No. The bug is that if the size of the ring is larger than the
length, the current version of `ring-elements' introduces fake `nil'
elements. The delq gets rid of all nil's, fake ones and potentially
legitimate ones, because certain ring elements could _really_ be nil.
The nconc re-adds the correct number of legitimate nil's. See the
ielm run below.
Ok.
If you want to do a little work, I am sure you could write a single
loop that produces the right elements in the right order. Then you
could rotate it properly with a single call to setcdr followed by
nconc'ing the pieces in the opposite order.
- lists.texi, Luc Teirlinck, 2005/06/18
- Re: lists.texi, Luc Teirlinck, 2005/06/18
- Re: lists.texi, Luc Teirlinck, 2005/06/18
- Re: lists.texi, David Kastrup, 2005/06/19
- Re: lists.texi, Richard Stallman, 2005/06/19
- Re: lists.texi, Luc Teirlinck, 2005/06/19
- Re: lists.texi,
Richard Stallman <=
- Re: lists.texi, Luc Teirlinck, 2005/06/20
- Re: lists.texi, David Kastrup, 2005/06/21
- Re: lists.texi, Richard M. Stallman, 2005/06/21
- Re: lists.texi, Thien-Thi Nguyen, 2005/06/21
- Re: lists.texi, Luc Teirlinck, 2005/06/21
- Re: lists.texi, Thien-Thi Nguyen, 2005/06/21
- Re: lists.texi, Luc Teirlinck, 2005/06/21
- Re: lists.texi, Luc Teirlinck, 2005/06/21
- Re: lists.texi, Thien-Thi Nguyen, 2005/06/21
- Re: lists.texi, Juri Linkov, 2005/06/22