unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* doc reverse! newtail
@ 2003-09-07 22:40 Kevin Ryde
  0 siblings, 0 replies; only message in thread
From: Kevin Ryde @ 2003-09-07 22:40 UTC (permalink / 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-09-07 22:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-07 22:40 doc reverse! newtail Kevin Ryde

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).