SB-EXT:DESCRIBE-COMPILER-POLICY and local policies
Bug #310287 reported by
Tobias C. Rittweiler
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Confirmed
|
Low
|
Tobias C. Rittweiler |
Bug Description
* The docstring of SB-EXT:
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)
...)
At the moment you can get that behaviour approximated by using
(print (sb-cltl2:
Changed in sbcl: | |
importance: | Undecided → Low |
status: | New → Confirmed |
description: | updated |
To post a comment you must log in.
How should the lambda-list for DESCRIBE- COMPILER- POLICY should look like?
Can we get rid of the current &OPTIONAL SPEC argument?