about summary refs log tree commit diff stats
path: root/channel.mu
diff options
context:
space:
mode:
Diffstat (limited to 'channel.mu')
-rw-r--r--channel.mu4
1 files changed, 2 insertions, 2 deletions
diff --git a/channel.mu b/channel.mu
index 5c3ea735..def7c08b 100644
--- a/channel.mu
+++ b/channel.mu
@@ -36,8 +36,8 @@ recipe main [
   local-scope
   chan:address:channel <- new-channel 3
   # create two background 'routines' that communicate by a channel
-  routine1:character <- start-running producer:recipe, chan
-  routine2:character <- start-running consumer:recipe, chan
+  routine1:number <- start-running producer, chan
+  routine2:number <- start-running consumer, chan
   wait-for-routine routine1
   wait-for-routine routine2
 ]