diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2017-12-03 23:25:40 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2017-12-03 23:25:40 -0800 |
commit | 4a48bedcd1d708a43d43dc6259a4e45c52ea3d00 (patch) | |
tree | 85c1b7310cca932797d727a3de8da96eb175d8da /html/continuation5.mu.html | |
parent | ef7d834fdd826977cd8d43253052a7b8e1c5aa72 (diff) | |
download | mu-4a48bedcd1d708a43d43dc6259a4e45c52ea3d00.tar.gz |
4134 - 'input' = 'ingredient'
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 500e926f..961eea7a 100644 --- a/html/continuation5.mu.html +++ b/html/continuation5.mu.html @@ -59,7 +59,7 @@ if ('onhashchange' in window) { <body onload='JumpToLine();'> <pre id='vimCodeElement'> <span id="L1" class="LineNr"> 1 </span><span class="Comment"># Example program showing that a 'paused' continuation can be 'resumed' with</span> -<span id="L2" class="LineNr"> 2 </span><span class="Comment"># ingredients.</span> +<span id="L2" class="LineNr"> 2 </span><span class="Comment"># inputs.</span> <span id="L3" class="LineNr"> 3 </span><span class="Comment">#</span> <span id="L4" class="LineNr"> 4 </span><span class="Comment"># Print out a list of numbers, first adding 0 to the first, 1 to the second, 2</span> <span id="L5" class="LineNr"> 5 </span><span class="Comment"># to the third, and so on.</span> @@ -93,7 +93,7 @@ if ('onhashchange' in window) { <span id="L33" class="LineNr">33 </span> <span id="L34" class="LineNr">34 </span><span class="muRecipe">def</span> <a href='continuation5.mu.html#L34'>create-yielder</a> l:&:<a href='064list.mu.html#L6'>list</a>:num<span class="muRecipe"> -> </span>n:num, done?:bool [ <span id="L35" class="LineNr">35 </span> <span class="Constant">local-scope</span> -<span id="L36" class="LineNr">36 </span> <span class="Constant">load-ingredients</span> +<span id="L36" class="LineNr">36 </span> <span class="Constant">load-inputs</span> <span id="L37" class="LineNr">37 </span> a:num <span class="Special"><-</span> copy<span class="Constant"> 0</span> <span id="L38" class="LineNr">38 </span> <span class="Delimiter">{</span> <span id="L39" class="LineNr">39 </span> <span class="Conceal">¦</span> done? <span class="Special"><-</span> equal l,<span class="Constant"> 0</span> |