From a63358d02ae15ff9a62961d46e58bff26dbab68c Mon Sep 17 00:00:00 2001 From: Peter Mikkelsen Date: Mon, 16 May 2022 16:34:47 +0000 Subject: Implement selective receive --- tests/chain.apl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/chain.apl b/tests/chain.apl index aeeab52..b825bbb 100644 --- a/tests/chain.apl +++ b/tests/chain.apl @@ -1,5 +1,5 @@ worker←{ - msg←1⍨⍇0 + msg←{1 ⍵}⍇⍬ ⍵≡⍬: ⎕←'DONE' ⎕←'Worker id ',(⍕⎕self),' got message: ',(⍕msg) ⎕←'Forwarding from ',(⍕⎕self), ' to ',⍕⍵ -- cgit v1.2.3