From e2ebfbb7d19ff3b990eb51dc9843200053cbbf98 Mon Sep 17 00:00:00 2001 From: glenda Date: Sat, 10 Sep 2022 16:25:05 +0000 Subject: Improve the session a lot --- tests/chain.apl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/chain.apl') diff --git a/tests/chain.apl b/tests/chain.apl index af09a2b..9b9ba33 100644 --- a/tests/chain.apl +++ b/tests/chain.apl @@ -1,9 +1,9 @@ worker←{ - msg←{1 ⍵}recv ⍬ + (from msg)←{1 ⍵} RECV ⍬ ⍵≡⍬: ⎕←'DONE' ⎕←'Worker id ',(⍕⎕self),' (',(⎕self ⎕tasks 1),') got message: ',(⍕msg) ⎕←'Forwarding from ',(⍕⎕self), ' to ',⍕⍵ - msg send ⍵ + msg SEND ⍵ } last←worker&'worker'⍣10⊢⍬ -'Hello there' send last +'Hello there' SEND last -- cgit v1.2.3