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

optimize (call/cc (lambda (k) body)) with unused k #874

Merged
merged 2 commits into from
Sep 29, 2024

Conversation

mflatt
Copy link
Contributor

@mflatt mflatt commented Sep 20, 2024

Implements the suggestion in #872

In cp0, replace (call/cc (lambda (k) body)) with just body when k is not referenced in body.

@owaddell owaddell self-requested a review September 23, 2024 00:58
In cp0, replace `(call/cc (lambda (k) body))` with just `body` when
`k` is not referenced in `body`.
@mflatt mflatt merged commit b631337 into cisco:main Sep 29, 2024
15 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.

2 participants