]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/zeromq/examples/hwclient.factor
core: Rename iota to <iota> so we can have TUPLE: iota ... ; instead of TUPLE: iota...
[factor.git] / extra / zeromq / examples / hwclient.factor
index 377e1b7a39e7cfc213b46fb4f368ff79255a0559..0bf6fc868f90362ad5ef2f3f0ae59167676183c1 100644 (file)
@@ -10,7 +10,7 @@ IN: zeromq.examples.hwclient
         "Connecting to hello world server…" print
         ZMQ_REQ <zmq-socket> &dispose
         dup "tcp://localhost:5555" zmq-connect
-        10 iota [
+        10 <iota> [
             [ "Hello" dup rot "Sending %s %d...\n" printf
               dupd >byte-array 0 zmq-send ]
             [ [ dup 0 zmq-recv >string ] dip