2008-12-21 19:21:24 |
Nikodemus Siivola |
description |
* The docstring of SB-EXT:DESCRIBE-COMPILER-POLICY should be updated with an example
of what the SPEC argument can be used for.
* It should additionally take an environment as a second &optional parameter, so you can do
(defun foo (x)
(declare (optimize speed))
(macrolet ((print-policy (&environment env)
(sb-ext:describe-compiler-policy nil env)))
(print-policy))
...)
At the moment you can get that behaviour approximated by using
(print (sb-cltl2:declaration-information 'optimize env)) |
* The docstring of SB-EXT:DESCRIBE-COMPILER-POLICY should be updated with an example
of what the SPEC argument can be used for.
* It should additionally take an environment as a second &optional parameter, so you can do
(defun foo (x)
(declare (optimize speed))
(macrolet ((print-policy (&environment env)
(sb-ext:describe-compiler-policy nil env)))
(print-policy))
...)
At the moment you can get that behaviour approximated by using
(print (sb-cltl2:declaration-information 'optimize env)) |
|