[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: doc strings of reverse and nreverse.

From: Kim F. Storm
Subject: Re: doc strings of reverse and nreverse.
Date: 20 Nov 2003 11:42:56 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Luc Teirlinck <address@hidden> writes:

> The doc strings of `reverse' and `nreverse' are strange and cryptic.
> Do C-h f reverse RET
> Result:
> reverse is a built-in function.
> (reverse LIST)
> Reverse LIST, copying.  Returns the beginning of the reversed list.
> See also the function `nreverse', which is used more often.
> My comments:
> The "beginning" of the reversed list?  How much of the beginning?

It's "beginning of list" in the meaning "pointer to first element in
the list".

Which in our book is just "the list".

I agree that "beginning of" should be removed from doc strings.

Kim F. Storm <address@hidden> http://www.cua.dk

reply via email to

[Prev in Thread] Current Thread [Next in Thread]