-
Notifications
You must be signed in to change notification settings - Fork 38
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 #149
Comments
The issue can be very general to discuss about. I'd recommend you the Scala's approach to sum types, and I think in this approach, we can treat a concrete type in Julia as a constructor of some sum type. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently I think MLStyle makes unions but not sum types. Do you think MLStyle could make this kind of type structure? The union cannot be extended from outside, which may be appropriate sometimes.
cc @MasonProtter
The text was updated successfully, but these errors were encountered: