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

Add syntax for sum-types #1082

Closed
shonfeder opened this issue Jul 28, 2023 · 0 comments · Fixed by #1206
Closed

Add syntax for sum-types #1082

shonfeder opened this issue Jul 28, 2023 · 0 comments · Fixed by #1206
Assignees

Comments

@shonfeder
Copy link
Contributor

Add the syntax proposed in #1062, which requires:

  • Two small extensions to the grammar for sum type defs and case analysis
  • Two corresponding additions to the IR
  • Tests confirming the correspondence of these two constructs
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 a pull request may close this issue.

1 participant