Closed martijnbastiaan closed 4 years ago
@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 *
. I'd expect:
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.
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
.