diff options
Diffstat (limited to 'html/064list.mu.html')
-rw-r--r-- | html/064list.mu.html | 9 |
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:&:list:_elem<span class="muRecipe"> -> </span>result:&:list:_elem [ +<span class="muRecipe">def</span> push x:_elem, l:&:list:_elem<span class="muRecipe"> -> </span>l:&:list:_elem [ <span class="Constant">local-scope</span> <span class="Constant">load-ingredients</span> - result<span class="Special"> <- </span>new <span class="Delimiter">{</span>(list _elem): type<span class="Delimiter">}</span> - *result<span class="Special"> <- </span>merge x, in + result:&:list:_elem<span class="Special"> <- </span>new <span class="Delimiter">{</span>(list _elem): type<span class="Delimiter">}</span> + *result<span class="Special"> <- </span>merge x, l + <span class="muControl">reply</span> result ] <span class="muRecipe">def</span> first in:&:list:_elem<span class="muRecipe"> -> </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:&:list:_elem temp:&:list:_elem<span class="muRecipe"> -> </span>result:&:list:_elem [ +<span class="muRecipe">def</span> reverse list:&:list:_elem temp:&:list:_elem/contained-in:result<span class="muRecipe"> -> </span>result:&:list:_elem [ <span class="Constant">local-scope</span> <span class="Constant">load-ingredients</span> <span class="muControl">reply-unless</span> list, temp |