The Hyperspec page on POSITION, POSITION-*
http://www.lispworks.com/reference/HyperSpec/Body/f_pos_p.htm
says:
"The position returned is the index within sequence of the
leftmost (if from-end is true) or of the rightmost
(if from-end is false) element that satisfies the test;"
Is this an error in the HyperSpec?
Should this not read:
"...leftmost (if from-end is false) or of the rightmost
(if from-end is true) element..." ?
Are there other known errors in the HyperSpec?
Is there a list somewhere?
··········@yahoo.com (Pratibha) writes:
> The Hyperspec page on POSITION, POSITION-*
> http://www.lispworks.com/reference/HyperSpec/Body/f_pos_p.htm
> says:
> "The position returned is the index within sequence of the
> leftmost (if from-end is true) or of the rightmost
> (if from-end is false) element that satisfies the test;"
>
> Is this an error in the HyperSpec?
Looks like it.
> Should this not read:
> "...leftmost (if from-end is false) or of the rightmost
> (if from-end is true) element..." ?
Yep.
> Are there other known errors in the HyperSpec?
Fo sho.
> Is there a list somewhere?
Not that I know of.
--
/|_ .-----------------------.
,' .\ / | No to Imperialist war |
,--' _,' | Wage class war! |
/ / `-----------------------'
( -. |
| ) |
(`-. '--.)
`. )----'
> > Is this an error in the HyperSpec?
> Looks like it.
> > Are there other known errors in the HyperSpec?
> Fo sho.
I guess my assumption of infallibility of the HyperSpec
is now shattered.
I am still assuming though that the ANSI standard was
written and can be read ex cathedra, and that if there is
any error, it is only in the interpretation/translation
into the HyperSpec.
For example, in the HyperSpec page on FLOOR, CEILING, etc.
http://www.lispworks.com/reference/HyperSpec/Body/f_floorc.htm
about midway it says:
"The remainder is an integer if both x and y are integers..."
but there is no previous (or subsequent) mention of what
x and y are.
* ibpratibha wrote:
> I am still assuming though that the ANSI standard was
> written and can be read ex cathedra, and that if there is
> any error, it is only in the interpretation/translation
> into the HyperSpec.
No, errors in the hyperspec will generally be in the ANSI standard
too. Infallibility is something humans are not good at.
--tim