projects
/
jscl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
join-trailing and *newline*
[jscl.git]
/
test.lisp
diff --git
a/test.lisp
b/test.lisp
index
0f19c5f
..
6d386cb
100644
(file)
--- a/
test.lisp
+++ b/
test.lisp
@@
-21,6
+21,8
@@
(debug ((lambda (x) x) 9999))
(debug ((lambda (x) x) 9999))
+(debug #'f)
+
;;; Macros
(debug "---MACROS---")
;;; Macros
(debug "---MACROS---")
@@
-57,12
+59,23
@@
(debug (progn 1 2 3 123))
(debug (progn 1 2 3 123))
+(debug (let ((x 99999))
+ (incf x)))
+
;;; &rest lambda-list
(debug (lambda (&rest x) x))
(debug (lambda (x y &rest z) z))
(debug (lambda (x y &rest z) x))
;;; &rest lambda-list
(debug (lambda (&rest x) x))
(debug (lambda (x y &rest z) z))
(debug (lambda (x y &rest z) x))
+
+(progn
+ (eval-when-compile
+ (%compile-defun 'f))
+ (fsetq f (lambda (x) (* x x))))
+
+(debug (f 33))
+
;; (debug (foo))
;; (eval-when-compile
;; (debug (foo))
;; (eval-when-compile