diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-08-20 20:01:25 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-08-20 20:01:34 -0700 |
commit | 8e7b4429787bc2b7fe289f264d09a4b1f5f6b081 (patch) | |
tree | da78a0432f4cc01f9083bda4b04a9cb0e5c46142 /html/075channel.mu.html | |
parent | c31209c6a14cebad97976b4089fe6a69f074f748 (diff) | |
download | mu-8e7b4429787bc2b7fe289f264d09a4b1f5f6b081.tar.gz |
3235
Diffstat (limited to 'html/075channel.mu.html')
-rw-r--r-- | html/075channel.mu.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/html/075channel.mu.html b/html/075channel.mu.html index 49bb5fb3..54fda434 100644 --- a/html/075channel.mu.html +++ b/html/075channel.mu.html @@ -102,6 +102,7 @@ body { font-size: 12pt; font-family: monospace; color: #eeeeee; background-color <span class="muRecipe">def</span> write out:address:sink:_elem, val:_elem<span class="muRecipe"> -> </span>out:address:sink:_elem [ <span class="Constant">local-scope</span> <span class="Constant">load-ingredients</span> + assert out, <span class="Constant">[write to null channel]</span> chan:address:channel:_elem<span class="Special"> <- </span>get *out, <span class="Constant">chan:offset</span> <span class="Constant"> <channel-write-initial></span> <span class="Delimiter">{</span> @@ -132,6 +133,7 @@ body { font-size: 12pt; font-family: monospace; color: #eeeeee; background-color <span class="muRecipe">def</span> read in:address:source:_elem<span class="muRecipe"> -> </span>result:_elem, eof?:boolean, in:address:source:_elem [ <span class="Constant">local-scope</span> <span class="Constant">load-ingredients</span> + assert in, <span class="Constant">[read on null channel]</span> eof?<span class="Special"> <- </span>copy <span class="Constant">0/false</span> <span class="Comment"># default result</span> chan:address:channel:_elem<span class="Special"> <- </span>get *in, <span class="Constant">chan:offset</span> <span class="Delimiter">{</span> |