about summary refs log tree commit diff stats
path: root/fork.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2014-12-14 13:21:32 -0800
committerKartik K. Agaram <vc@akkartik.com>2014-12-14 13:21:59 -0800
commitd4b4d018c76409a96b82bee1e81c735648e57918 (patch)
tree952ce8bce8b74a9a93514e4d210d3fb9f1a3c8a4 /fork.mu
parent6c8f19d2be6eb4cd227c2ba6f3e189b8f3a72608 (diff)
downloadmu-d4b4d018c76409a96b82bee1e81c735648e57918.tar.gz
428 - cleanup odds and ends
Diffstat (limited to 'fork.mu')
-rw-r--r--fork.mu14
1 files changed, 7 insertions, 7 deletions
diff --git a/fork.mu b/fork.mu
index 3a4c1437..1cf7aa71 100644
--- a/fork.mu
+++ b/fork.mu
@@ -1,18 +1,18 @@
 (function main [
-  (fork (thread2 fn))
-  ((default-scope scope-address) <- new (scope literal) (2 literal))
-  ((x integer) <- copy (34 literal))
+  (fork thread2:fn)
+  (default-scope:scope-address <- new scope:literal 2:literal)
+  (x:integer <- copy 34:literal)
   { begin
-    (print-primitive (x integer))
+    (print-primitive x:integer)
     (loop)
   }
 ])
 
 (function thread2 [
-  ((default-scope scope-address) <- new (scope literal) (2 literal))
-  ((y integer) <- copy (35 literal))
+  (default-scope:scope-address <- new scope:literal 2:literal)
+  (y:integer <- copy 35:literal)
   { begin
-    (print-primitive (y integer))
+    (print-primitive y:integer)
     (loop)
   }
 ])