Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
19025 commits behind the upstream repository.
user avatar
Simon Peyton Jones authored
Trac #14394 showed that it's possible to get redundant
constraints in the inferred provided constraints of a pattern
synonym.  This patch removes the redundancy with mkMinimalBySCs.

To do this I had to generalise the type of mkMinimalBySCs slightly.
And, to reduce confusing reversal, I made it stable: it now returns
its result in the same order as its input.  That led to a raft of
error message wibbles, mostly for the better.
2c2f3cea
History
Name Last commit Last update