From 83d8299d2d966c39b4970828ff5743a5b05e3287 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sun, 17 Jan 2016 23:15:03 -0800 Subject: 2562 We want to use the type 'recipe' for recipe *variables*, because it seems nicer to say `recipe number -> number` rather than recipe-ordinal, etc. To support this we'll allow recipe names to be mentioned without any type. This might make a couple of places in this commit more brittle. I'm dropping error messages, causing them to not happen in some situations. Maybe I should just bite the bullet and require an explicit :recipe-literal. We'll see. --- channel.mu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'channel.mu') 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 ] -- cgit 1.4.1-2-gfad0 otfiles/log/README.md?h=sops'>log blame commit diff stats
path: root/README.md
blob: ff4b220864f482094f0591d6547886ba9ed7dd73 (plain) (tree)
1
2