Mark H Weaver <m...@netris.org> writes: > Hello all, > > I have now produced two very different implementations of > `the-environment' and `local-eval' that support compilation. > > Included below is a simple patch that I believe is ready for commit to > the stable-2.0 branch, and I very much hope it can be included in 2.0.4. > > However, before I tell you about this nice simple patch, I'll briefly > mention the other more complex (and more efficient) compiler > implementation.
How will either fare with: (let ((env (let ((x 1)) (the-environment)))) (local-eval '(set! x 4) env)) ? It sounds to me like the more complex variant might have a better chance of working "as intended" (TM). -- David Kastrup