For that particular case your modification works, but when I do
Semion Prihodko <email@example.com> writes:What about
> Hi guys,
> Have a little problem. I perform some experiments with genetic programming
> and need to disable all output from a randomly-generated program (need only
> its return value).
> For this purpose I wrote the following macro:
> (defmacro sandbox (&body body)
> (locally (declare #+sbcl(sb-ext:muffle-conditions warning))
> This approach works good for me, except macro expansion errors
> (unfortunately lambda is a macro). For example, when I input:
(defmacro sandbox (&body body)(eval '(locally (declare #+sbcl(sb-ext:muffle-conditions warning))
With best regards, Stas.