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.mu2
1 files changed, 1 insertions, 1 deletions
diff --git a/channel.mu b/channel.mu
index 86378352..4f0231da 100644
--- a/channel.mu
+++ b/channel.mu
@@ -34,7 +34,7 @@ recipe consumer [
 
 recipe main [
   default-space:address:array:location <- new location:type, 30:literal
-  chan:address:channel <- init-channel 3:literal
+  chan:address:channel <- new-channel 3:literal
   # create two background 'routines' that communicate by a channel
   routine1:number <- start-running producer:recipe, chan:address:channel
   routine2:number <- start-running consumer:recipe, chan:address:channel