From 0302ca0a8d28e5898792ea349914af2a2d6aa701 Mon Sep 17 00:00:00 2001 From: John Clements Date: Mon, 14 Jan 2008 23:23:39 +0000 Subject: [PATCH] added mappend\! svn: r8327 --- collects/scribblings/reference/mpairs.scrbl | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/collects/scribblings/reference/mpairs.scrbl b/collects/scribblings/reference/mpairs.scrbl index 4d6cc6a0fa..952f231c7f 100644 --- a/collects/scribblings/reference/mpairs.scrbl +++ b/collects/scribblings/reference/mpairs.scrbl @@ -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?]{