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

Dynamic extent environment augmentation #10

Open
38a938c2 opened this issue Apr 6, 2019 · 4 comments
Open

Dynamic extent environment augmentation #10

38a938c2 opened this issue Apr 6, 2019 · 4 comments

Comments

@38a938c2
Copy link

38a938c2 commented Apr 6, 2019

Given that Common Lisp implementations are allowed to provide lexical environments with dynamic extent to macros, would it make sense to (also) provide augmentation macros where new environment has lexical scope and dynamic extent? It would be sufficient in many cases, and might be easier to implement safely in case the environments do indeed have dynamic extent.

@38a938c2
Copy link
Author

38a938c2 commented Apr 6, 2019

Maybe an alternative way of stating this is allowing the new augmented environment to have the same dynamic extent as the environment before augmentation.

@robert-strandh
Copy link
Collaborator

I am afraid I don't really understand the issues involved, nor why this functionality
would be useful.

@38a938c2
Copy link
Author

38a938c2 commented Apr 9, 2019 via email

@robert-strandh
Copy link
Collaborator

OK, no new functionality, but I still don't see what the purpose would be.
Perhaps it is just an optimization issue? And I don't see how the protocol
could give any such guarantees about dynamic extent, given that any
client code can capture the environment and do what it pleases.

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

2 participants