unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: storm@cua.dk (Kim F. Storm)
Cc: emacs-devel@gnu.org
Subject: Re: doc strings of reverse and nreverse.
Date: 20 Nov 2003 11:42:56 +0100	[thread overview]
Message-ID: <m3ekw3qq1b.fsf@kfs-l.imdomain.dk> (raw)
In-Reply-To: <200311200410.hAK4Axt07727@raven.dms.auburn.edu>

Luc Teirlinck <teirllm@dms.auburn.edu> 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 <storm@cua.dk> http://www.cua.dk

  parent reply	other threads:[~2003-11-20 10:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-20  4:10 doc strings of reverse and nreverse Luc Teirlinck
2003-11-20  4:29 ` Luc Teirlinck
2003-11-20 10:42 ` Kim F. Storm [this message]
2003-11-21  5:12   ` Luc Teirlinck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3ekw3qq1b.fsf@kfs-l.imdomain.dk \
    --to=storm@cua.dk \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).