-
Notifications
You must be signed in to change notification settings - Fork 371
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
eval-when-compile permits compile-time definitions that can be used from macros #187
Conversation
Looks good to me from an internals POV. The From a semantics POV, the |
I actually stole both the name and the semantics from elisp. I agree that the name suggests that the evaluation is limited to compile time. I don't see a point in evaluating something only at compile time but not at runtime, so I'd like to keep the semantics of the current version, but I am open to suggestions for a clearer name. |
http://www.gnu.org/software/emacs/manual/html_node/elisp/Eval-During-Compile.html suggests the opposite. The semantics you are talking about seem to be from |
Oops, you are right, it's Looking at my own use cases, all I need is |
This seems like thrilling stuff; can I get a @jd comment on this? |
Throw caution to the wind! Thanks, @khinsen ! |
Fixes #186