diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2017-12-27 20:19:46 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2017-12-27 20:19:46 -0800 |
commit | e82dc626685875d56738e733f7e18203f2ac7f9d (patch) | |
tree | e24c3912c85409f44980f278854f522f4c9dccf9 /html/continuation5.mu.html | |
parent | c81fde0c44407b76d90601b992bb3cb74b6568fd (diff) | |
download | mu-e82dc626685875d56738e733f7e18203f2ac7f9d.tar.gz |
4164
Diffstat (limited to 'html/continuation5.mu.html')
-rw-r--r-- | html/continuation5.mu.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/html/continuation5.mu.html b/html/continuation5.mu.html index 65a30cf1..b0b45a3b 100644 --- a/html/continuation5.mu.html +++ b/html/continuation5.mu.html @@ -80,7 +80,7 @@ if ('onhashchange' in window) { <span id="L20" class="LineNr">20 </span> l <span class="Special"><-</span> push<span class="Constant"> 3</span>, l <span id="L21" class="LineNr">21 </span> l <span class="Special"><-</span> push<span class="Constant"> 2</span>, l <span id="L22" class="LineNr">22 </span> l <span class="Special"><-</span> push<span class="Constant"> 1</span>, l -<span id="L23" class="LineNr">23 </span> k:continuation, x:num, done?:bool <span class="Special"><-</span> call-with-continuation-mark <span class="Constant">100/mark</span>, <a href='continuation5.mu.html#L34'>create-yielder</a>, l +<span id="L23" class="LineNr">23 </span> k:continuation, x:num, done?:bool <span class="Special"><-</span> <span class="muControl">call-with-continuation-mark</span> <span class="Constant">100/mark</span>, <a href='continuation5.mu.html#L34'>create-yielder</a>, l <span id="L24" class="LineNr">24 </span> a:num <span class="Special"><-</span> copy<span class="Constant"> 1</span> <span id="L25" class="LineNr">25 </span> <span class="Delimiter">{</span> <span id="L26" class="LineNr">26 </span> <span class="Conceal">¦</span> <span class="muControl">break-if</span> done? @@ -101,10 +101,10 @@ if ('onhashchange' in window) { <span id="L41" class="LineNr">41 </span> <span class="Conceal">¦</span> n <span class="Special"><-</span> first l <span id="L42" class="LineNr">42 </span> <span class="Conceal">¦</span> l <span class="Special"><-</span> <a href='064list.mu.html#L24'>rest</a> l <span id="L43" class="LineNr">43 </span> <span class="Conceal">¦</span> n <span class="Special"><-</span> add n, a -<span id="L44" class="LineNr">44 </span> <span class="Conceal">¦</span> a <span class="Special"><-</span> return-continuation-until-mark <span class="Constant">100/mark</span>, n, done? <span class="Comment"># pause/resume</span> +<span id="L44" class="LineNr">44 </span> <span class="Conceal">¦</span> a <span class="Special"><-</span> <span class="muControl">return-continuation-until-mark</span> <span class="Constant">100/mark</span>, n, done? <span class="Comment"># pause/resume</span> <span id="L45" class="LineNr">45 </span> <span class="Conceal">¦</span> <span class="muControl">loop</span> <span id="L46" class="LineNr">46 </span> <span class="Delimiter">}</span> -<span id="L47" class="LineNr">47 </span> return-continuation-until-mark <span class="Constant">100/mark</span>,<span class="Constant"> -1</span>, done? +<span id="L47" class="LineNr">47 </span> <span class="muControl">return-continuation-until-mark</span> <span class="Constant">100/mark</span>,<span class="Constant"> -1</span>, done? <span id="L48" class="LineNr">48 </span> assert <span class="Constant">0/false</span>, <span class="Constant">[called too many times, ran out of continuations to return]</span> <span id="L49" class="LineNr">49 </span>] </pre> |