hi,
I'm trying to figure out when defparameter does its thing.
I have a function that I absolutely want to be determined at load-time. Other
functions depend on it:
(defparameter *temp-dir*
(generate-temp-dir-name))
Is there a way to guarantee that this fn gets called at at load time? Is it to just do:
(eval-when (load)
(defparam ...))
or is it to do:
(defparam *temp-dir*
(load-time-value (generate-temp-dir-name)))
?
dave
* David Bakhash <·····@bu.edu>
| I'm trying to figure out when defparameter does its thing.
DEFPARAMETER does its thing at load-time. however, the symbol is
declared special at compile-time, also.
what do you do and observe that lead you to do think you need something
special to make it work at load-time?
#:Erik