[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CL package serious deficiencies
From: |
Juanma Barranquero |
Subject: |
Re: CL package serious deficiencies |
Date: |
Sat, 11 Feb 2012 23:33:44 +0100 |
On Sat, Feb 11, 2012 at 17:56, Johan Bockgård <address@hidden> wrote:
> There is no promise about in which order the sequence will be traversed
> (only from which end elements are :count'ed).
You're right. At least, I see no such guarantee in the appropriate 17.3 section.
It is surprising, though, that the promise does exist for COUNT,
COUNT-IF, COUNT-IF-NOT:
"The from-end has no direct effect on the result. However, if from-end
is true, the elements of sequence will be supplied as arguments to the
test, test-not, and key in reverse order, which may change the
side-effects, if any, of those functions."
I mean, :from-end would not be useful for COUNT otherwise, so the
language designers gave it something to do. But the result is that
COUNT and friends are the only sequence functions which guarantee the
order (and so, side effects) of the test and key.
Thanks,
Juanma
- Re: CL package serious deficiencies, (continued)
- Re: CL package serious deficiencies, Stefan Monnier, 2012/02/10
- Re: CL package serious deficiencies, Lars Ingebrigtsen, 2012/02/10
- Re: CL package serious deficiencies, Helmut Eller, 2012/02/10
- Re: CL package serious deficiencies, Stefan Monnier, 2012/02/12
- Re: CL package serious deficiencies, Helmut Eller, 2012/02/12
- Re: CL package serious deficiencies, Stefan Monnier, 2012/02/12
- Re: CL package serious deficiencies, Helmut Eller, 2012/02/12
- Re: CL package serious deficiencies, Teemu Likonen, 2012/02/11
- Re: CL package serious deficiencies, Juanma Barranquero, 2012/02/11
- Re: CL package serious deficiencies, Johan Bockgård, 2012/02/11
- Re: CL package serious deficiencies,
Juanma Barranquero <=
- Re: CL package serious deficiencies, Stefan Monnier, 2012/02/12
- Re: CL package serious deficiencies, Teemu Likonen, 2012/02/12
- Re: CL package serious deficiencies, Stefan Monnier, 2012/02/12
- Re: CL package serious deficiencies, Stefan Monnier, 2012/02/12
- Re: CL package serious deficiencies, Dimitri Fontaine, 2012/02/19