about summary refs log tree commit diff stats
path: root/html/064list.mu.html
diff options
context:
space:
mode:
Diffstat (limited to 'html/064list.mu.html')
-rw-r--r--html/064list.mu.html9
1 files changed, 5 insertions, 4 deletions
diff --git a/html/064list.mu.html b/html/064list.mu.html
index 2fad0c10..8d9a38ec 100644
--- a/html/064list.mu.html
+++ b/html/064list.mu.html
@@ -42,11 +42,12 @@ body { font-size: 12pt; font-family: monospace; color: #eeeeee; background-color
   next:&:list:_elem
 ]
 
-<span class="muRecipe">def</span> push x:_elem, in:&amp;:list:_elem<span class="muRecipe"> -&gt; </span>result:&amp;:list:_elem [
+<span class="muRecipe">def</span> push x:_elem, l:&amp;:list:_elem<span class="muRecipe"> -&gt; </span>l:&amp;:list:_elem [
   <span class="Constant">local-scope</span>
   <span class="Constant">load-ingredients</span>
-  result<span class="Special"> &lt;- </span>new <span class="Delimiter">{</span>(list _elem): type<span class="Delimiter">}</span>
-  *result<span class="Special"> &lt;- </span>merge x, in
+  result:&amp;:list:_elem<span class="Special"> &lt;- </span>new <span class="Delimiter">{</span>(list _elem): type<span class="Delimiter">}</span>
+  *result<span class="Special"> &lt;- </span>merge x, l
+  <span class="muControl">reply</span> result
 ]
 
 <span class="muRecipe">def</span> first in:&amp;:list:_elem<span class="muRecipe"> -&gt; </span>result:_elem [
@@ -294,7 +295,7 @@ body { font-size: 12pt; font-family: monospace; color: #eeeeee; background-color
 
 <span class="Comment"># reverse the elements of a list</span>
 <span class="Comment"># (contributed by Caleb Couch)</span>
-<span class="muRecipe">def</span> reverse list:&amp;:list:_elem temp:&amp;:list:_elem<span class="muRecipe"> -&gt; </span>result:&amp;:list:_elem [
+<span class="muRecipe">def</span> reverse list:&amp;:list:_elem temp:&amp;:list:_elem/contained-in:result<span class="muRecipe"> -&gt; </span>result:&amp;:list:_elem [
   <span class="Constant">local-scope</span>
   <span class="Constant">load-ingredients</span>
   <span class="muControl">reply-unless</span> list, temp