diff options
author | Matthias Andreas Benkard <matthias@benkard.de> | 2008-08-17 13:09:29 +0200 |
---|---|---|
committer | Matthias Andreas Benkard <matthias@benkard.de> | 2008-08-18 11:41:27 +0200 |
commit | 173e0143fe9930772e405d611f58f72f6f49a7f4 (patch) | |
tree | ab8a473558f6f19302d189eda46c6fcc9fa8e78f | |
parent | 04eec3a4532b7426c1cdee08b95f3ae658d07ae5 (diff) |
init.lisp: Test IF.
-rw-r--r-- | init.lisp | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -34,6 +34,13 @@ (y 'value-y)) args x y)))) (ns-log (test6 1 2 3)) +(%fset 'test7 (compile '(sys::%lambda args (let ((x nil)) (if x 'yes 'no))))) +(ns-log (test7 1 2 3)) +(%fset 'test8 (compile '(sys::%lambda args (let ((x 100)) (if x 'yes 'no))))) +(ns-log (test8 1 2 3)) +(%fset 'test9 (compile '(sys::%lambda args (if args 'some-args 'no-args)))) +(ns-log (test9)) +(ns-log (test9 1 2 3)) ;; (load "util.lisp") ;; (load "defun-0.lisp") |