Closed christiaanb closed 4 years ago
This currently passes, but it shouldn't:
f :: (1 <= n) => Proxy n -> Proxy n f = id g :: (1 <= m, m <= rp) => Proxy m -> Proxy rp -> Proxy (rp - m) -> Proxy (rp - m) g _ _ = f
i.e. it infers from (1 <= m, m <= rp) that (1 <= rp - m)
(1 <= m, m <= rp)
(1 <= rp - m)
This currently passes, but it shouldn't:
i.e. it infers from
(1 <= m, m <= rp)
that(1 <= rp - m)