diff options
Diffstat (limited to 'html/065duplex_list.mu.html')
-rw-r--r-- | html/065duplex_list.mu.html | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/html/065duplex_list.mu.html b/html/065duplex_list.mu.html index c0557ad9..bfd37e7b 100644 --- a/html/065duplex_list.mu.html +++ b/html/065duplex_list.mu.html @@ -96,7 +96,7 @@ if ('onhashchange' in window) { <span id="L34" class="LineNr"> 34 </span> <span class="Constant">load-inputs</span> <span id="L35" class="LineNr"> 35 </span> <span class="muControl">return-unless</span> in,<span class="Constant"> 0</span> <span id="L36" class="LineNr"> 36 </span> result <span class="Special"><-</span> get *in, <span class="Constant"><a href='065duplex_list.mu.html#L32'>prev</a>:offset</span> -<span id="L37" class="LineNr"> 37 </span> <span class="muControl">return</span> result +<span id="L37" class="LineNr"> 37 </span> <span class="muControl"> return</span> result <span id="L38" class="LineNr"> 38 </span>] <span id="L39" class="LineNr"> 39 </span> <span id="L40" class="LineNr"> 40 </span><span class="muScenario">scenario</span> duplex-list-handling [ @@ -149,7 +149,7 @@ if ('onhashchange' in window) { <span id="L87" class="LineNr"> 87 </span> <span class="Conceal">¦</span> <span class="muControl">break-unless</span> l <span id="L88" class="LineNr"> 88 </span> <span class="Conceal">¦</span> result <span class="Special"><-</span> add result,<span class="Constant"> 1</span> <span id="L89" class="LineNr"> 89 </span> <span class="Conceal">¦</span> l <span class="Special"><-</span> <a href='065duplex_list.mu.html#L25'>next</a> l -<span id="L90" class="LineNr"> 90 </span> <span class="Conceal">¦</span> <span class="muControl">loop</span> +<span id="L90" class="LineNr"> 90 </span> <span class="Conceal">¦</span><span class="muControl"> loop</span> <span id="L91" class="LineNr"> 91 </span> <span class="Delimiter">}</span> <span id="L92" class="LineNr"> 92 </span>] <span id="L93" class="LineNr"> 93 </span> @@ -302,11 +302,11 @@ if ('onhashchange' in window) { <span id="L240" class="LineNr">240 </span> <span class="Delimiter">{</span> <span id="L241" class="LineNr">241 </span> <span class="Conceal">¦</span> <span class="muControl">break-unless</span> prev-node <span id="L242" class="LineNr">242 </span> <span class="Conceal">¦</span> *prev-node <span class="Special"><-</span> put *prev-node, <span class="Constant"><a href='065duplex_list.mu.html#L25'>next</a>:offset</span>, next-node -<span id="L243" class="LineNr">243 </span> <span class="Conceal">¦</span> <span class="muControl">return</span> +<span id="L243" class="LineNr">243 </span> <span class="Conceal">¦</span><span class="muControl"> return</span> <span id="L244" class="LineNr">244 </span> <span class="Delimiter">}</span> <span id="L245" class="LineNr">245 </span> <span class="Comment"># if prev-node is null, then we removed the head node at 'in'</span> <span id="L246" class="LineNr">246 </span> <span class="Comment"># return the new head rather than the old 'in'</span> -<span id="L247" class="LineNr">247 </span> <span class="muControl">return</span> next-node +<span id="L247" class="LineNr">247 </span> <span class="muControl"> return</span> next-node <span id="L248" class="LineNr">248 </span>] <span id="L249" class="LineNr">249 </span> <span id="L250" class="LineNr">250 </span><span class="muScenario">scenario</span> removing-from-duplex-list [ @@ -420,7 +420,7 @@ if ('onhashchange' in window) { <span id="L358" class="LineNr">358 </span> <span class="Conceal">¦</span> in <span class="Special"><-</span> remove curr, in <span id="L359" class="LineNr">359 </span> <span class="Conceal">¦</span> curr <span class="Special"><-</span> copy <a href='065duplex_list.mu.html#L25'>next</a> <span id="L360" class="LineNr">360 </span> <span class="Conceal">¦</span> i <span class="Special"><-</span> add i,<span class="Constant"> 1</span> -<span id="L361" class="LineNr">361 </span> <span class="Conceal">¦</span> <span class="muControl">loop</span> +<span id="L361" class="LineNr">361 </span> <span class="Conceal">¦</span><span class="muControl"> loop</span> <span id="L362" class="LineNr">362 </span> <span class="Delimiter">}</span> <span id="L363" class="LineNr">363 </span>] <span id="L364" class="LineNr">364 </span> @@ -618,7 +618,7 @@ if ('onhashchange' in window) { <span id="L556" class="LineNr">556 </span> <span class="Conceal">¦</span> <span class="Comment"># next iter</span> <span id="L557" class="LineNr">557 </span> <span class="Conceal">¦</span> curr <span class="Special"><-</span> <a href='065duplex_list.mu.html#L25'>next</a> curr <span id="L558" class="LineNr">558 </span> <span class="Conceal">¦</span> idx <span class="Special"><-</span> add idx,<span class="Constant"> 1</span> -<span id="L559" class="LineNr">559 </span> <span class="Conceal">¦</span> <span class="muControl">loop</span> +<span id="L559" class="LineNr">559 </span> <span class="Conceal">¦</span><span class="muControl"> loop</span> <span id="L560" class="LineNr">560 </span> <span class="Delimiter">}</span> <span id="L561" class="LineNr">561 </span>] <span id="L562" class="LineNr">562 </span> @@ -639,7 +639,7 @@ if ('onhashchange' in window) { <span id="L577" class="LineNr">577 </span> <span class="Conceal">¦</span> <a href='065duplex_list.mu.html#L25'>next</a>:&:<a href='065duplex_list.mu.html#L3'>duplex-list</a>:_elem <span class="Special"><-</span> <a href='065duplex_list.mu.html#L25'>next</a> result <span id="L578" class="LineNr">578 </span> <span class="Conceal">¦</span> <span class="muControl">break-unless</span> <a href='065duplex_list.mu.html#L25'>next</a> <span id="L579" class="LineNr">579 </span> <span class="Conceal">¦</span> result <span class="Special"><-</span> copy <a href='065duplex_list.mu.html#L25'>next</a> -<span id="L580" class="LineNr">580 </span> <span class="Conceal">¦</span> <span class="muControl">loop</span> +<span id="L580" class="LineNr">580 </span> <span class="Conceal">¦</span><span class="muControl"> loop</span> <span id="L581" class="LineNr">581 </span> <span class="Delimiter">}</span> <span id="L582" class="LineNr">582 </span>] <span id="L583" class="LineNr">583 </span> @@ -659,9 +659,9 @@ if ('onhashchange' in window) { <span id="L597" class="LineNr">597 </span> <span class="Conceal">¦</span> <span class="muControl">return-unless</span> curr-matches?, <span class="Constant">0/no-match</span> <span id="L598" class="LineNr">598 </span> <span class="Conceal">¦</span> x <span class="Special"><-</span> <a href='065duplex_list.mu.html#L25'>next</a> x <span id="L599" class="LineNr">599 </span> <span class="Conceal">¦</span> i <span class="Special"><-</span> add i,<span class="Constant"> 1</span> -<span id="L600" class="LineNr">600 </span> <span class="Conceal">¦</span> <span class="muControl">loop</span> +<span id="L600" class="LineNr">600 </span> <span class="Conceal">¦</span><span class="muControl"> loop</span> <span id="L601" class="LineNr">601 </span> <span class="Delimiter">}</span> -<span id="L602" class="LineNr">602 </span> <span class="muControl">return</span> <span class="Constant">1/successful-match</span> +<span id="L602" class="LineNr">602 </span> <span class="muControl"> return</span> <span class="Constant">1/successful-match</span> <span id="L603" class="LineNr">603 </span>] <span id="L604" class="LineNr">604 </span> <span id="L605" class="LineNr">605 </span><span class="muScenario">scenario</span> duplex-list-match [ @@ -704,7 +704,7 @@ if ('onhashchange' in window) { <span id="L642" class="LineNr">642 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> $print <span class="Constant">10/newline</span> <span id="L643" class="LineNr">643 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> $print x, <span class="Constant">[: ]</span> <span id="L644" class="LineNr">644 </span> <span class="Conceal">¦</span> <span class="Delimiter">}</span> -<span id="L645" class="LineNr">645 </span> <span class="Conceal">¦</span> <span class="muControl">loop</span> +<span id="L645" class="LineNr">645 </span> <span class="Conceal">¦</span><span class="muControl"> loop</span> <span id="L646" class="LineNr">646 </span> <span class="Delimiter">}</span> <span id="L647" class="LineNr">647 </span> $print <span class="Constant">10/newline</span>, <span class="Constant">[---]</span>, <span class="Constant">10/newline</span> <span id="L648" class="LineNr">648 </span>] @@ -745,7 +745,7 @@ if ('onhashchange' in window) { <span id="L683" class="LineNr">683 </span> <span class="Delimiter">{</span> <span id="L684" class="LineNr">684 </span> <span class="Conceal">¦</span> <span class="muControl">break-if</span> in <span id="L685" class="LineNr">685 </span> <span class="Conceal">¦</span> buf <span class="Special"><-</span> append buf, <span class="Constant">[[]</span>] -<span id="L686" class="LineNr">686 </span> <span class="Conceal">¦</span> <span class="muControl">return</span> +<span id="L686" class="LineNr">686 </span> <span class="Conceal">¦</span><span class="muControl"> return</span> <span id="L687" class="LineNr">687 </span> <span class="Delimiter">}</span> <span id="L688" class="LineNr">688 </span> <span class="Comment"># append in.value to buf</span> <span id="L689" class="LineNr">689 </span> val:_elem <span class="Special"><-</span> get *in, <span class="Constant">value:offset</span> @@ -761,14 +761,14 @@ if ('onhashchange' in window) { <span id="L699" class="LineNr">699 </span> <span class="Conceal">¦</span> <span class="muControl">break-if</span> optional-input-found? <span id="L700" class="LineNr">700 </span> <span class="Conceal">¦</span> <span class="Comment"># unlimited recursion</span> <span id="L701" class="LineNr">701 </span> <span class="Conceal">¦</span> buf <span class="Special"><-</span> to-buffer <a href='065duplex_list.mu.html#L25'>next</a>, buf -<span id="L702" class="LineNr">702 </span> <span class="Conceal">¦</span> <span class="muControl">return</span> +<span id="L702" class="LineNr">702 </span> <span class="Conceal">¦</span><span class="muControl"> return</span> <span id="L703" class="LineNr">703 </span> <span class="Delimiter">}</span> <span id="L704" class="LineNr">704 </span> <span class="Delimiter">{</span> <span id="L705" class="LineNr">705 </span> <span class="Conceal">¦</span> <span class="muControl">break-unless</span> remaining <span id="L706" class="LineNr">706 </span> <span class="Conceal">¦</span> <span class="Comment"># limited recursion</span> <span id="L707" class="LineNr">707 </span> <span class="Conceal">¦</span> remaining <span class="Special"><-</span> subtract remaining,<span class="Constant"> 1</span> <span id="L708" class="LineNr">708 </span> <span class="Conceal">¦</span> buf <span class="Special"><-</span> to-buffer <a href='065duplex_list.mu.html#L25'>next</a>, buf, remaining -<span id="L709" class="LineNr">709 </span> <span class="Conceal">¦</span> <span class="muControl">return</span> +<span id="L709" class="LineNr">709 </span> <span class="Conceal">¦</span><span class="muControl"> return</span> <span id="L710" class="LineNr">710 </span> <span class="Delimiter">}</span> <span id="L711" class="LineNr">711 </span> <span class="Comment"># past recursion depth; insert ellipses and stop</span> <span id="L712" class="LineNr">712 </span> append buf, <span class="Constant">[...]</span> |