From: Kevin Ryde <user42@zip.com.au>
Subject: doc reverse! newtail
Date: Mon, 08 Sep 2003 08:40:11 +1000 [thread overview]
Message-ID: <87llt0te7o.fsf@zip.com.au> (raw)
* scheme-compound.texi (Append/Reverse): Merge reverse and reverse!,
describe newtail parameter for reverse!, remove confusing caveat about
head becoming tail for reverse!.
(And I think the docstring for reverse! can be modified similarly.)
- Scheme Procedure: reverse lst
- Scheme Procedure: reverse! lst [newtail]
- C Function: scm_reverse (lst)
- C Function: scm_reverse_x (lst, newtail)
Return a list comprising the elements of LST, in reverse order.
`reverse' constructs a new list, `reverse!' modifies LST to
construct its return.
For `reverse!', the optional NEWTAIL is appended to to the result.
NEWTAIL isn't reversed, it simply becomes the list tail. For
`scm_reverse_x', NEWTAIL is mandatory, but can be `SCM_EOL' if no
further tail is required.
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel
reply other threads:[~2003-09-07 22:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87llt0te7o.fsf@zip.com.au \
--to=user42@zip.com.au \
/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.
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).