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

Investigate case semantics #11

Open
flupe opened this issue Jan 24, 2025 · 0 comments
Open

Investigate case semantics #11

flupe opened this issue Jan 24, 2025 · 0 comments
Labels
question Further information is requested

Comments

@flupe
Copy link
Collaborator

flupe commented Jan 24, 2025

I added a transformation on the treeless syntax that makes all cases exhaustive, even when the branches are unreachable.

However, what used to be the "default" return value for the case is bound in a let binding prior to the match.

Is this problematic?

What is the whcbv semantics for let bindings? If we bind a box in a let binding, will it fail before we reach the case?

@flupe flupe added the question Further information is requested label Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant