diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2017-09-23 19:30:00 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2017-09-23 19:30:00 -0700 |
commit | 615f4a970a2fa5c91766ee585a7d531b083f4bff (patch) | |
tree | 5fce7848b60fe7e0dae089c94ca228ad74067ce1 /html/075channel.mu.html | |
parent | 72cf994869e19f6bdc4678e1122f0082d07d4a11 (diff) | |
download | mu-615f4a970a2fa5c91766ee585a7d531b083f4bff.tar.gz |
4003
Diffstat (limited to 'html/075channel.mu.html')
-rw-r--r-- | html/075channel.mu.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/html/075channel.mu.html b/html/075channel.mu.html index 6cc72808..91122080 100644 --- a/html/075channel.mu.html +++ b/html/075channel.mu.html @@ -475,7 +475,7 @@ if ('onhashchange' in window) { <span id="L411" class="LineNr">411 </span> <span class="Comment"># repeat forever</span> <span id="L412" class="LineNr">412 </span> eof?:bool <span class="Special"><-</span> copy <span class="Constant">0/false</span> <span id="L413" class="LineNr">413 </span> <span class="Delimiter">{</span> -<span id="L414" class="LineNr">414 </span> <span class="Conceal">¦</span> line:&:<a href='061text.mu.html#L126'>buffer</a>:char <span class="Special"><-</span> <a href='061text.mu.html#L131'>new-buffer</a><span class="Constant"> 30</span> +<span id="L414" class="LineNr">414 </span> <span class="Conceal">¦</span> line:&:<a href='061text.mu.html#L120'>buffer</a>:char <span class="Special"><-</span> <a href='061text.mu.html#L125'>new-buffer</a><span class="Constant"> 30</span> <span id="L415" class="LineNr">415 </span> <span class="Conceal">¦</span> <span class="Comment"># read characters from 'in' until newline, copy into line</span> <span id="L416" class="LineNr">416 </span> <span class="Conceal">¦</span> <span class="Delimiter">{</span> <span id="L417" class="LineNr">417 </span><span class="Constant"> </span><span class="Conceal">¦</span><span class="Constant"> </span><span class="Conceal">¦</span><span class="Constant"> +next-character</span> @@ -571,14 +571,14 @@ if ('onhashchange' in window) { <span id="L507" class="LineNr">507 </span><span class="muRecipe">def</span> <a href='075channel.mu.html#L507'>drain</a> <a href='075channel.mu.html#L43'>source</a>:&:<a href='075channel.mu.html#L43'>source</a>:char<span class="muRecipe"> -> </span>result:text, <a href='075channel.mu.html#L43'>source</a>:&:<a href='075channel.mu.html#L43'>source</a>:char [ <span id="L508" class="LineNr">508 </span> <span class="Constant">local-scope</span> <span id="L509" class="LineNr">509 </span> <span class="Constant">load-ingredients</span> -<span id="L510" class="LineNr">510 </span> buf:&:<a href='061text.mu.html#L126'>buffer</a>:char <span class="Special"><-</span> <a href='061text.mu.html#L131'>new-buffer</a><span class="Constant"> 30</span> +<span id="L510" class="LineNr">510 </span> buf:&:<a href='061text.mu.html#L120'>buffer</a>:char <span class="Special"><-</span> <a href='061text.mu.html#L125'>new-buffer</a><span class="Constant"> 30</span> <span id="L511" class="LineNr">511 </span> <span class="Delimiter">{</span> <span id="L512" class="LineNr">512 </span> <span class="Conceal">¦</span> c:char, done?:bool <span class="Special"><-</span> read <a href='075channel.mu.html#L43'>source</a> <span id="L513" class="LineNr">513 </span> <span class="Conceal">¦</span> <span class="muControl">break-if</span> done? <span id="L514" class="LineNr">514 </span> <span class="Conceal">¦</span> buf <span class="Special"><-</span> append buf, c <span id="L515" class="LineNr">515 </span> <span class="Conceal">¦</span> <span class="muControl">loop</span> <span id="L516" class="LineNr">516 </span> <span class="Delimiter">}</span> -<span id="L517" class="LineNr">517 </span> result <span class="Special"><-</span> <a href='061text.mu.html#L344'>buffer-to-array</a> buf +<span id="L517" class="LineNr">517 </span> result <span class="Special"><-</span> <a href='061text.mu.html#L338'>buffer-to-array</a> buf <span id="L518" class="LineNr">518 </span>] </pre> </body> |