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

Closed
wants to merge 2 commits into from
Closed

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.

@Negabinary
Copy link
Contributor Author

Closed in favour of #1453

@Negabinary Negabinary closed this Jan 8, 2025
@Negabinary Negabinary deleted the closure-dynamics branch January 8, 2025 06:56
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