X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=test.lisp;h=6d386cba2fc0c295d3d51baf5000a0c094bedce7;hb=2af650b83b1449de72dc7b8209cb2310cdea0509;hp=0f19c5f0c0a0c7bbb52755aa7df1bce22cf4a5c6;hpb=b27fcd30accc24a70887798f9d61e08c38d083dd;p=jscl.git diff --git a/test.lisp b/test.lisp index 0f19c5f..6d386cb 100644 --- a/test.lisp +++ b/test.lisp @@ -21,6 +21,8 @@ (debug ((lambda (x) x) 9999)) +(debug #'f) + ;;; Macros (debug "---MACROS---") @@ -57,12 +59,23 @@ (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)) + +(progn + (eval-when-compile + (%compile-defun 'f)) + (fsetq f (lambda (x) (* x x)))) + +(debug (f 33)) + ;; (debug (foo)) ;; (eval-when-compile