about summary refs log tree commit diff stats
path: root/html/channel.mu.html
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-05-21 17:44:53 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-05-21 17:44:53 -0700
commit2f02189ddcdeb7d25b0ca9bd5b955b764d41a1a7 (patch)
tree7c2e8b6e37ae3201dc01e90bcb390ee60b7f4a77 /html/channel.mu.html
parent61c025b11ed4ddd002f09f061fd77c75d8b6d0ba (diff)
downloadmu-2f02189ddcdeb7d25b0ca9bd5b955b764d41a1a7.tar.gz
2996
Diffstat (limited to 'html/channel.mu.html')
-rw-r--r--html/channel.mu.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/html/channel.mu.html b/html/channel.mu.html
index 30c5b5b7..afa2f732 100644
--- a/html/channel.mu.html
+++ b/html/channel.mu.html
@@ -56,7 +56,8 @@ body { font-size: 12pt; font-family: monospace; color: #eeeeee; background-color
   <span class="Constant">load-ingredients</span>
   <span class="Delimiter">{</span>
     <span class="Comment"># read an integer from the channel</span>
-    n:character, source<span class="Special"> &lt;- </span>read source
+    n:character, eof?:boolean, source<span class="Special"> &lt;- </span>read source
+    <span class="muControl">break-if</span> eof?
     <span class="Comment"># other threads might get between these prints</span>
     $print <span class="Constant">[consume: ]</span>, n:character, <span class="Constant">[ </span>
 <span class="Constant">]</span>