added mappend\!

svn: r8327
This commit is contained in:
John Clements 2008-01-14 23:23:39 +00:00
parent 6267a19122
commit 0302ca0a8d

View File

@ -95,6 +95,15 @@ Like @scheme[list-tail], but for @tech{mutable lists}.}
Like @scheme[append], but for @tech{mutable lists}.}
@defproc*[([(mappend! [mlst mlist?] ...) mlist?]
[(mappend! [mlst mlist?] ... [v any/c]) any/c])]{
The @scheme[mappend!] procedure appends the given lists by mutating the tail of
each to refer to the next, using @scheme[set-mcdr!]. Empty lists are silently
ignored; in particular, the result of calling @scheme[mappend!] with one or
more empty lists is the same as the result of the call with the empty lists
removed from the set of arguments.}
@defproc[(mreverse [mlst mlist?]) mlist?]{