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-11-01 12:38:33 -0700
committerKartik K. Agaram <vc@akkartik.com>2014-11-01 12:38:33 -0700
commitd9e8ced7ea7366c71bac4704d93df8df64b4ecb7 (patch)
tree5cbdb5acc796eafaae3615f1c51ae86f4c8e413f /mu.arc.t
parentf9f437a3564522b8a4c8d632e379f90f72ed29df (diff)
downloadmu-d9e8ced7ea7366c71bac4704d93df8df64b4ecb7.tar.gz
206
Diffstat (limited to 'mu.arc.t')
-rw-r--r--mu.arc.t8
1 files changed, 4 insertions, 4 deletions
diff --git a/mu.arc.t b/mu.arc.t
index 999ab359..465cc8ad 100644
--- a/mu.arc.t
+++ b/mu.arc.t
@@ -803,7 +803,7 @@
     (prn "F - 'new-list' can construct a list of integers")))
 
 ; Just like the table of types is centralized, functions are conceptualized as
-; a centralized table of operations just like the 'primitives' we've seen so
+; a centralized table of operations just like the "primitives" we've seen so
 ; far. If you create a function you can call it like any other op.
 
 (reset)
@@ -992,7 +992,7 @@
 ;? (quit)
 
 (reset)
-(new-trace "new-fn-arg-missing-3")
+(new-trace "new-fn-arg-missing-4")
 (add-fns
   '((test1
       ; if given two args, adds them; if given one arg, increments
@@ -1016,8 +1016,8 @@
 (new-trace "new-fn-arg-by-value")
 (add-fns
   '((test1
-      ((1 integer) <- copy (0 literal))
-      ((2 integer) <- arg))
+      ((1 integer) <- copy (0 literal))  ; overwrite caller memory
+      ((2 integer) <- arg))  ; arg not clobbered
     (main
       ((1 integer) <- copy (34 literal))
       (test1 (1 integer)))))