summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/chain.apl6
1 files changed, 3 insertions, 3 deletions
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