<?xml version="1.0"?>
<paste-with-annotations>
  <paste>
    <number>
      <integer>54074</integer>
    </number>
    <user>
      <string>turbo24prg</string>
    </user>
    <title>
      <string>split patch</string>
    </title>
    <contents>
      <string>Index: regular-expressions/interface.dylan
===================================================================
--- regular-expressions/interface.dylan	(revision 11607)
+++ regular-expressions/interface.dylan	(working copy)
@@ -238,7 +238,7 @@
 define function split
     (pattern :: &lt;string&gt;, input :: &lt;string&gt;, 
      #key count = #f, remove-empty-items = #t, start = 0, end: input-end = #f)
- =&gt; (#rest whole-bunch-of-strings :: &lt;string&gt;);
+ =&gt; (strings :: &lt;sequence&gt;);
   let positioner = make-regex-positioner(pattern);
   split-string(positioner, input, start, input-end | size(input),
 	       count, remove-empty-items);
@@ -261,7 +261,7 @@
     (positioner :: &lt;function&gt;, input :: &lt;string&gt;, start :: &lt;integer&gt;, 
      input-end :: &lt;integer&gt;, count :: false-or(&lt;integer&gt;), 
      remove-empty-items :: &lt;object&gt;)
- =&gt; (#rest whole-bunch-of-strings :: &lt;string&gt;);
+ =&gt; (strings :: &lt;sequence&gt;);
   let strings = make(&lt;deque&gt;);
   block (done)
     let end-of-last-match = 0;
@@ -292,9 +292,9 @@
     end while;
   end block;
   if (remove-empty-items)
-    apply(values, remove!(strings, #f, test: method (a, b) a.empty? end));
+    remove!(strings, #f, test: method (a, b) a.empty? end);
   else
-    apply(values, strings);
+    strings
   end if;
 end function split-string;
</string>
    </contents>
    <universal-time>
      <integer>3409134428</integer>
    </universal-time>
    <channel>
      <string>#dylan</string>
    </channel>
    <colorization-mode>
      <string></string>
    </colorization-mode>
    <maybe-spam>
      <null/>
    </maybe-spam>
    <is-unicode>
      <null/>
    </is-unicode>
  </paste>
</paste-with-annotations>