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

Sum type (union) syntax #4

Open
1 of 3 tasks
jdpage opened this issue Dec 6, 2017 · 1 comment
Open
1 of 3 tasks

Sum type (union) syntax #4

jdpage opened this issue Dec 6, 2017 · 1 comment

Comments

@jdpage
Copy link
Collaborator

jdpage commented Dec 6, 2017

Do we want unions? Would we prefer discriminated unions (i.e. you can tell at-runtime which branch of the union it is)? I am a huge fan of discriminated unions but they might be a feature to put off until later.

  • decide if we want regular unions
  • decide if we want discriminated unions
  • decide on access syntax
@woodrowbarlow
Copy link
Collaborator

if we have unions, i want them to be discriminated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants