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 variant types #58

Open
DKLoehr opened this issue May 29, 2020 · 0 comments
Open

Add variant types #58

DKLoehr opened this issue May 29, 2020 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@DKLoehr
Copy link
Collaborator

DKLoehr commented May 29, 2020

It would be useful to be able to declare OCaml-style variant types in NV. Of course, they could not be recursive.

In fact, all the use cases I've seen have required only enum types (i.e. variant types with only constant constructors, no constructors which carry values). This would be a good place to start, since it's simpler and seems likely to get us most (or all) of what we want.

@DKLoehr DKLoehr added enhancement New feature or request good first issue Good for newcomers labels May 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant