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

Simplify guard form using call-in-continuation #904

Merged
merged 2 commits into from
Jan 22, 2025
Merged

Conversation

mnieper
Copy link
Contributor

@mnieper mnieper commented Jan 21, 2025

Chez Scheme 10's new call-in-continuation procedure allows implementing guard in a simpler and likely more efficient way.

Chez Scheme 10's new call-in-continuation procedure allows implementing
guard in a simpler and likely more efficient way.
@burgerrg
Copy link
Contributor

burgerrg commented Jan 21, 2025

Good find! Would $reset-protect in 7.ss also benefit from using call-in-continuation?

@mnieper
Copy link
Contributor Author

mnieper commented Jan 21, 2025

Good find! Would $reset-protect in 7.ss also benefit from using call-in-continuation?

The same simplification should be applicable here. I am going to update the pull request after running a local test.

@burgerrg burgerrg merged commit beca0d1 into cisco:main Jan 22, 2025
16 checks passed
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

Successfully merging this pull request may close these issues.

3 participants