Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proclaim with optimize should be inside eval-when with :compile-toplevel, but not :execute or :load-top-level #53

Open
Yehouda opened this issue Nov 21, 2023 · 0 comments

Comments

@Yehouda
Copy link

Yehouda commented Nov 21, 2023

(eval-when (:compile-toplevel :load-toplevel :execute)

The way this is defined now, the optimization applies during compilation, and after loading it applies to everything that is compiled afterwards in the same process.

Presumably, it is intended to apply only to the compilation of the file, in which case the list of keywords should includng only :compile-toplevel.

https://www.lispworks.com/documentation/lw50/CLHS/Body/s_eval_w.htm

This applies to all the file wiyh (proclaim (optimize...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant