diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-08-16 11:37:06 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-08-16 11:37:06 -0700 |
commit | 3d748ce13e22e94033f041347f2ae797bed1a2f1 (patch) | |
tree | 378983b65b730dd11b54d9eb17dd331a028bbf59 | |
parent | be52aad2c2478b83ea672eeb73530f808742f98b (diff) | |
download | mu-3d748ce13e22e94033f041347f2ae797bed1a2f1.tar.gz |
3194
-rw-r--r-- | 075channel.mu | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/075channel.mu b/075channel.mu index e018db2f..d47410da 100644 --- a/075channel.mu +++ b/075channel.mu @@ -94,10 +94,10 @@ def write out:address:sink:_elem, val:_elem -> out:address:sink:_elem [ *chan <- put *chan, first-free:offset, free ] -def read in:address:source:_elem -> result:_elem, fail?:boolean, in:address:source:_elem [ +def read in:address:source:_elem -> result:_elem, eof?:boolean, in:address:source:_elem [ local-scope load-ingredients - fail? <- copy 0/false # default status + eof? <- copy 0/false # default result chan:address:channel:_elem <- get *in, chan:offset { # block if chan is empty |