* Marco Baringer [2006-11-22 14:28+0100] writes:
but we could add a :declarations parameter to swank-backend:swank-compile-string. on lisps where it's possible (sbcl, cmucl for now) we'd use whatever hooks it took to change these settings locally, other lisps could just ignore them.
is this good enough?
Alternatively, we could add something (backend specific) to access the current optimization policy and do something like:
(let ((old-policy (get-policy))) (proclaim '(optimize (debug 3))) (compile ...) (proclaim old-policy))
Helmut.