[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Issue: LOAD-TIME-EVAL (Version 6)



By the way, I forgot a ' in that example.  Here's the fixed version:

 (EVAL-WHEN (EVAL COMPILE LOAD)
   (DEFMACRO LIST-FOR-FOO (&ENVIRONMENT ENV)
     `'(X ,(MAKE-LOAD-TIME-CONSTANT '(SQRT 3) ENV)))
   (DEFUN FOO (X) (LIST-FOR-FOO)))