diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2017-12-27 20:38:53 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2017-12-27 20:39:51 -0800 |
commit | f0c55e6b97edf8971ce4adad3ee53cbfa406b7ef (patch) | |
tree | d816e398a5bc38010f277e6677b9de83bc3f2faa /html/continuation5.mu.html | |
parent | e82dc626685875d56738e733f7e18203f2ac7f9d (diff) | |
download | mu-f0c55e6b97edf8971ce4adad3ee53cbfa406b7ef.tar.gz |
4165
Diffstat (limited to 'html/continuation5.mu.html')
-rw-r--r-- | html/continuation5.mu.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/html/continuation5.mu.html b/html/continuation5.mu.html index b0b45a3b..27da4fff 100644 --- a/html/continuation5.mu.html +++ b/html/continuation5.mu.html @@ -87,7 +87,7 @@ if ('onhashchange' in window) { <span id="L27" class="LineNr">27 </span> <span class="Conceal">¦</span> $print x <span class="Constant">10/newline</span> <span id="L28" class="LineNr">28 </span> <span class="Conceal">¦</span> k, x:num, done?:bool <span class="Special"><-</span> call k, a <span class="Comment"># resume; x = a + next l value</span> <span id="L29" class="LineNr">29 </span> <span class="Conceal">¦</span> a <span class="Special"><-</span> add a,<span class="Constant"> 1</span> -<span id="L30" class="LineNr">30 </span> <span class="Conceal">¦</span> <span class="muControl">loop</span> +<span id="L30" class="LineNr">30 </span> <span class="Conceal">¦</span><span class="muControl"> loop</span> <span id="L31" class="LineNr">31 </span> <span class="Delimiter">}</span> <span id="L32" class="LineNr">32 </span>] <span id="L33" class="LineNr">33 </span> @@ -102,7 +102,7 @@ if ('onhashchange' in window) { <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> <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="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> <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> |