-
Notifications
You must be signed in to change notification settings - Fork 15
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
Can't figure out +
commutes in some contexts on GHC 8.6.3
#23
Comments
@christiaanb I kindly request you not to solve this - unless it's blocking for you - until you're back in the office. Leon and I are hoping to get more insight into the plugins, so we'd like to look over your shoulder and ask questions along the way. |
Similar things happen with proxyEq4
:: forall m n
. Proxy (8 * m * (2 ^ n))
-> Proxy (m * 8 * (2 ^ n))
proxyEq4 = id to work, but it doesn't. Seems like we should implement a "sort" for these equations. |
Closed
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following compiles on GHC 8.4.4, but fails on 8.6.3:
where
Changing
leToPlus
to:..makes it compile just fine. The error reported by GHC is:
For some reason, it sometimes can't figure out that
n + m
~m + n
.The text was updated successfully, but these errors were encountered: