Vladimir Sekissov <[EMAIL PROTECTED]> writes: > Can somebody explain which implementation give the correct result > running this code: > > (defvar *a* 1) > > (defmacro test-a () *a*) > > (progv '(*a) '(2) > (test-a))
Both 1 and 2 are correct answers: the difference arises from different evaluation strategies. (In compiled code, both implementations must return 1). Cheers, Christophe
