[slime-devel] What's the difference between compile and load?
echaozh at gmail.com
Thu Mar 1 16:20:26 UTC 2007
Gary King wrote:
>> Or do I have to load the file?
> Yes, you will.
> ... but it, as I said, really evaluating...
If I'm not guessing wrong, Slime first compiles (and thus evaluates) the
defconstant form, and when loading the fasl file, it again evaluates the
same form, making the constant defined twice. When the constant is
something like a string, the two defs will be considered different and
thus cause a compilation error.
Is it actually a problem and how to avoid it?
More information about the slime-devel