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 /channel.mu | |
parent | ef7d834fdd826977cd8d43253052a7b8e1c5aa72 (diff) | |
download | mu-4a48bedcd1d708a43d43dc6259a4e45c52ea3d00.tar.gz |
4134 - 'input' = 'ingredient'
Diffstat (limited to 'channel.mu')
-rw-r--r-- | channel.mu | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/channel.mu b/channel.mu index 66d0be79..4a553148 100644 --- a/channel.mu +++ b/channel.mu @@ -3,7 +3,7 @@ def producer sink:&:sink:char -> sink:&:sink:char [ # produce characters 1 to 5 on a channel local-scope - load-ingredients + load-inputs # n = 0 n:char <- copy 0 { @@ -22,7 +22,7 @@ def producer sink:&:sink:char -> sink:&:sink:char [ def consumer source:&:source:char -> source:&:source:char [ # consume and print integers from a channel local-scope - load-ingredients + load-inputs { # read an integer from the channel n:char, eof?:bool, source <- read source |