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

[Feature] Sum types. #28487

Open
d0cd opened this issue Jan 8, 2025 · 0 comments
Open

[Feature] Sum types. #28487

d0cd opened this issue Jan 8, 2025 · 0 comments
Labels
feature A new feature.

Comments

@d0cd
Copy link
Collaborator

d0cd commented Jan 8, 2025

Sum types are a desirable programming paradigm.
The tricky bit is how to encode them.
Naively as a struct with all variants, but is there a better way?

@d0cd d0cd added the feature A new feature. label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature.
Projects
None yet
Development

No branches or pull requests

1 participant