about summary refs log tree commit diff stats
path: root/mu.arc.t
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2014-07-06 02:06:42 -0700
committerKartik K. Agaram <vc@akkartik.com>2014-07-06 02:06:42 -0700
commit52cbb739921116ece71bbcde1a02bed8cae9c1db (patch)
treeb01c0455c1f6d79da62fc076f15c2abba03e6842 /mu.arc.t
parent8fafaf8982e3262409ee87b977ea04034334dd04 (diff)
downloadmu-52cbb739921116ece71bbcde1a02bed8cae9c1db.tar.gz
4 - output args now optional
Diffstat (limited to 'mu.arc.t')
-rw-r--r--mu.arc.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/mu.arc.t b/mu.arc.t
index ff63ebdc..fd9c0946 100644
--- a/mu.arc.t
+++ b/mu.arc.t
@@ -16,7 +16,7 @@
     (main
       (1 <- loadi 1)
       (2 <- loadi 3)
-      (_ <- add-fn))))
+      (add-fn))))
 (run function*!main)
 ;? (prn memory*)
 (if (~iso memory* (obj 1 1  2 3  3 4))
@@ -26,12 +26,12 @@
 (add-fns
   '((add-fn
       (3 <- add 1 2)
-      (_ <- return)
+      (return)
       (4 <- loadi 34))
     (main
       (1 <- loadi 1)
       (2 <- loadi 3)
-      (_ <- add-fn))))
+      (add-fn))))
 (run function*!main)
 ;? (prn memory*)
 (if (~iso memory* (obj 1 1  2 3  3 4))