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

Closure dynamics #1435

Draft
wants to merge 2 commits into
base: dev
Choose a base branch
from
Draft

Closure dynamics #1435

wants to merge 2 commits into from

Conversation

Negabinary
Copy link
Contributor

@Negabinary Negabinary commented Dec 5, 2024

Fixes #1431

We create some new evaluation rules around closures:

  • We only remove closures if the expression inside has an empty co-context.
  • Since closures can remain in final expressions, we augment unboxing rules and cast calculus rules to deal with these

While we're at it we also

  • remove the function closure argument in favor of just having functions wrapped in a closure.

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.

Closures around indet expressions disappear
1 participant