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-10-05 10:36:09 -0700
committerKartik K. Agaram <vc@akkartik.com>2014-10-05 10:36:09 -0700
commit186e1884028779dc41f5ba1fd563db2d957d1de4 (patch)
treeb5feed7708cb15f0372d8ca81dc758b75b02288f /mu.arc.t
parentb982e863fa1d964de07eade726e9bd3d04225cbf (diff)
downloadmu-186e1884028779dc41f5ba1fd563db2d957d1de4.tar.gz
98 - getting sick of loading literals before use
Diffstat (limited to 'mu.arc.t')
-rw-r--r--mu.arc.t8
1 files changed, 8 insertions, 0 deletions
diff --git a/mu.arc.t b/mu.arc.t
index 3c94d298..f7c9a7a7 100644
--- a/mu.arc.t
+++ b/mu.arc.t
@@ -174,6 +174,14 @@
 
 (reset)
 (add-fns
+  '((test1
+      ((1 integer) <- add (2 literal) (3 literal)))))
+(run 'test1)
+(if (~iso memory* (obj 1 5))
+  (prn "F - ops can take 'literal' operands (but not return them)"))
+
+(reset)
+(add-fns
   '((main
       ((1 integer) <- literal 1)
       ((2 integer) <- literal 3)