diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2014-11-01 12:38:33 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2014-11-01 12:38:33 -0700 |
commit | d9e8ced7ea7366c71bac4704d93df8df64b4ecb7 (patch) | |
tree | 5cbdb5acc796eafaae3615f1c51ae86f4c8e413f /mu.arc.t | |
parent | f9f437a3564522b8a4c8d632e379f90f72ed29df (diff) | |
download | mu-d9e8ced7ea7366c71bac4704d93df8df64b4ecb7.tar.gz |
206
Diffstat (limited to 'mu.arc.t')
-rw-r--r-- | mu.arc.t | 8 |
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))))) |