-
Notifications
You must be signed in to change notification settings - Fork 36
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 support for the variant
operator in the type and effect system
#1209
Merged
Commits on Oct 20, 2023
-
Shon Feder committed
Oct 20, 2023 Configuration menu - View commit details
-
Copy full SHA for d98c1d0 - Browse repository at this point
Copy the full SHA d98c1d0View commit details -
Shon Feder committed
Oct 20, 2023 Configuration menu - View commit details
-
Copy full SHA for c3515da - Browse repository at this point
Copy the full SHA c3515daView commit details -
Add constraint generator for variant operator
This also requires adding a new constraint `isDefined` that holds iff a type that unifies with the given type is defined in the context.
Shon Feder committedOct 20, 2023 Configuration menu - View commit details
-
Copy full SHA for 063cfd4 - Browse repository at this point
Copy the full SHA 063cfd4View commit details -
Allows us to find and transform values from an iterable
Shon Feder committedOct 20, 2023 Configuration menu - View commit details
-
Copy full SHA for 3a9cbf0 - Browse repository at this point
Copy the full SHA 3a9cbf0View commit details -
Add test for unification of sum types
Shon Feder committedOct 20, 2023 Configuration menu - View commit details
-
Copy full SHA for 2762c16 - Browse repository at this point
Copy the full SHA 2762c16View commit details -
Fix sum type constructor synthesis
- Nullary constructors where being incorrectly defined as lambdas, when they should just be values. - We were not adding the type annotation of the defined type to the operator. But we want this, since in ensures we do not construct open rowed variants and ensures that we have the right topological sorting to ensure the variant constructors are after the defined types.
Shon Feder committedOct 20, 2023 Configuration menu - View commit details
-
Copy full SHA for fd35a09 - Browse repository at this point
Copy the full SHA fd35a09View commit details -
Shon Feder committed
Oct 20, 2023 Configuration menu - View commit details
-
Copy full SHA for 26cac28 - Browse repository at this point
Copy the full SHA 26cac28View commit details -
Shon Feder committed
Oct 20, 2023 Configuration menu - View commit details
-
Copy full SHA for c1f75f3 - Browse repository at this point
Copy the full SHA c1f75f3View commit details -
Add effect signature for variant operator
Shon Feder committedOct 20, 2023 Configuration menu - View commit details
-
Copy full SHA for efec3a7 - Browse repository at this point
Copy the full SHA efec3a7View commit details -
Add document the rule for the variant operator
Shon Feder committedOct 20, 2023 Configuration menu - View commit details
-
Copy full SHA for 58c1bca - Browse repository at this point
Copy the full SHA 58c1bcaView commit details -
Shon Feder committed
Oct 20, 2023 Configuration menu - View commit details
-
Copy full SHA for d5dba4b - Browse repository at this point
Copy the full SHA d5dba4bView commit details -
Shon Feder committed
Oct 20, 2023 Configuration menu - View commit details
-
Copy full SHA for e9eafd3 - Browse repository at this point
Copy the full SHA e9eafd3View commit details -
Shon Feder committed
Oct 20, 2023 Configuration menu - View commit details
-
Copy full SHA for 474b6aa - Browse repository at this point
Copy the full SHA 474b6aaView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.