We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
class F x { fn f(x) Int } class G x { has F fn g(x) Int } fn h(y) => g(y)
Should result in scheme (∀ a . a -> Int) | [G a] not (∀ a . a -> Int) | [F a, G a] because G a implies F a.
(∀ a . a -> Int) | [G a]
(∀ a . a -> Int) | [F a, G a]
G a
F a
The text was updated successfully, but these errors were encountered:
This becomes more important if I decide to add default instance selection to the language. Currently it's not an issue.
Sorry, something went wrong.
No branches or pull requests
Should result in scheme
(∀ a . a -> Int) | [G a]
not(∀ a . a -> Int) | [F a, G a]
becauseG a
impliesF a
.The text was updated successfully, but these errors were encountered: