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

Support for dependent case analysis #32

Open
jespercockx opened this issue Aug 1, 2024 · 0 comments
Open

Support for dependent case analysis #32

jespercockx opened this issue Aug 1, 2024 · 0 comments

Comments

@jespercockx
Copy link
Owner

Currently, there is no way to do case analysis on an indexed datatype whose indices are not fully general (well, technically there is nothing enforcing full generality, but that is only because of #31). To support proper dependent case analysis, we need to support specialization by unification. This could be built into the typing of case statements, but it could also be its own term constructor that does just the specialization, which might make for a nicer presentation of the typing rules.

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

No branches or pull requests

1 participant