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
a38014b
..
6d386cb
100644
(file)
--- a/
test.lisp
+++ b/
test.lisp
@@
-19,6
+19,10
@@
(fsetq f (lambda (x) (+ x 10)))
(debug (f 20))
(fsetq f (lambda (x) (+ x 10)))
(debug (f 20))
+(debug ((lambda (x) x) 9999))
+
+(debug #'f)
+
;;; Macros
(debug "---MACROS---")
;;; Macros
(debug "---MACROS---")
@@
-53,6
+57,10
@@
(debug (symbol-name 'foo))
(debug (symbol-name 'foo-bar))
(debug (symbol-name 'foo))
(debug (symbol-name 'foo-bar))
+(debug (progn 1 2 3 123))
+
+(debug (let ((x 99999))
+ (incf x)))
;;; &rest lambda-list
;;; &rest lambda-list
@@
-60,6
+68,14
@@
(debug (lambda (x y &rest z) z))
(debug (lambda (x y &rest z) 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