diff options
Diffstat (limited to 'html/064list.mu.html')
-rw-r--r-- | html/064list.mu.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/html/064list.mu.html b/html/064list.mu.html index 35cd4749..e1f93300 100644 --- a/html/064list.mu.html +++ b/html/064list.mu.html @@ -355,21 +355,21 @@ if ('onhashchange' in window) { <span id="L293" class="LineNr">293 </span><span class="muRecipe">def</span> to-text in:&:list:_elem<span class="muRecipe"> -> </span>result:text [ <span id="L294" class="LineNr">294 </span> <span class="Constant">local-scope</span> <span id="L295" class="LineNr">295 </span> <span class="Constant">load-ingredients</span> -<span id="L296" class="LineNr">296 </span> buf:&:<a href='061text.mu.html#L127'>buffer</a> <span class="Special"><-</span> <a href='061text.mu.html#L132'>new-buffer</a><span class="Constant"> 80</span> +<span id="L296" class="LineNr">296 </span> buf:&:buffer:char <span class="Special"><-</span> <a href='061text.mu.html#L131'>new-buffer</a><span class="Constant"> 80</span> <span id="L297" class="LineNr">297 </span> buf <span class="Special"><-</span> <a href='064list.mu.html#L310'>to-buffer</a> in, buf -<span id="L298" class="LineNr">298 </span> result <span class="Special"><-</span> <a href='061text.mu.html#L329'>buffer-to-array</a> buf +<span id="L298" class="LineNr">298 </span> result <span class="Special"><-</span> <a href='061text.mu.html#L328'>buffer-to-array</a> buf <span id="L299" class="LineNr">299 </span>] <span id="L300" class="LineNr">300 </span> <span id="L301" class="LineNr">301 </span><span class="Comment"># variant of 'to-text' which stops printing after a few elements (and so is robust to cycles)</span> <span id="L302" class="LineNr">302 </span><span class="muRecipe">def</span> to-text-line in:&:list:_elem<span class="muRecipe"> -> </span>result:text [ <span id="L303" class="LineNr">303 </span> <span class="Constant">local-scope</span> <span id="L304" class="LineNr">304 </span> <span class="Constant">load-ingredients</span> -<span id="L305" class="LineNr">305 </span> buf:&:<a href='061text.mu.html#L127'>buffer</a> <span class="Special"><-</span> <a href='061text.mu.html#L132'>new-buffer</a><span class="Constant"> 80</span> +<span id="L305" class="LineNr">305 </span> buf:&:buffer:char <span class="Special"><-</span> <a href='061text.mu.html#L131'>new-buffer</a><span class="Constant"> 80</span> <span id="L306" class="LineNr">306 </span> buf <span class="Special"><-</span> <a href='064list.mu.html#L310'>to-buffer</a> in, buf,<span class="Constant"> 6</span> <span class="Comment"># max elements to display</span> -<span id="L307" class="LineNr">307 </span> result <span class="Special"><-</span> <a href='061text.mu.html#L329'>buffer-to-array</a> buf +<span id="L307" class="LineNr">307 </span> result <span class="Special"><-</span> <a href='061text.mu.html#L328'>buffer-to-array</a> buf <span id="L308" class="LineNr">308 </span>] <span id="L309" class="LineNr">309 </span> -<span id="L310" class="LineNr">310 </span><span class="muRecipe">def</span> <a href='064list.mu.html#L310'>to-buffer</a> in:&:list:_elem, buf:&:<a href='061text.mu.html#L127'>buffer</a><span class="muRecipe"> -> </span>buf:&:<a href='061text.mu.html#L127'>buffer</a> [ +<span id="L310" class="LineNr">310 </span><span class="muRecipe">def</span> <a href='064list.mu.html#L310'>to-buffer</a> in:&:list:_elem, buf:&:buffer:char<span class="muRecipe"> -> </span>buf:&:buffer:char [ <span id="L311" class="LineNr">311 </span> <span class="Constant">local-scope</span> <span id="L312" class="LineNr">312 </span> <span class="Constant">load-ingredients</span> <span id="L313" class="LineNr">313 </span> <span class="Delimiter">{</span> |