]> gitweb.factorcode.org Git - factor.git/commitdiff
Fix channels.remote to/from words
authorChris Double <chris.double@double.co.nz>
Thu, 29 Oct 2009 05:01:45 +0000 (18:01 +1300)
committerChris Double <chris.double@double.co.nz>
Thu, 29 Oct 2009 05:01:45 +0000 (18:01 +1300)
basis/channels/remote/remote.factor

index 6e10b23407f2630eda925ac253e889774a6a76ae..6f63b9bd4a50adb66c88d9d2bcd344ed8692658a 100644 (file)
@@ -53,12 +53,12 @@ C: <remote-channel> remote-channel
 
 M: remote-channel to ( value remote-channel -- )
     [ [ \ to , id>> , , ] { } make ] keep
-    node>> "remote-channels" <remote-process> 
+    node>> "remote-channels" swap <remote-process> 
     send-synchronous no-channel = [ no-channel throw ] when ;
 
 M: remote-channel from ( remote-channel -- value )
     [ [ \ from , id>> , ] { } make ] keep
-    node>> "remote-channels" <remote-process> 
+    node>> "remote-channels" swap <remote-process> 
     send-synchronous dup no-channel = [ no-channel throw ] when* ;
 
 [