Next: filter-declaration-env, Previous: declaration-env.affected-variables, Up: API
The function declaration-env.policy returns the optimize qualities that are stored in declaration-env.
PARSE-DECLARATIONS> (declaration-env.policy (parse-declarations '((declare (optimize (speed 0) (debug 2))) (declare (fixnum x y)) (declare (inline +)) (declae (optimize (safety 3)))))) => ((SAFETY 3) (SPEED 0) (DEBUG 2))
Signals an error of type TYPE-ERROR
if
declaration-env is not a declaration-env.