projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b8b019
)
Comments and tidy-up
author
Manuel M T Chakravarty
<chak@cse.unsw.edu.au>
Sun, 6 Aug 2006 21:26:28 +0000
(21:26 +0000)
committer
Manuel M T Chakravarty
<chak@cse.unsw.edu.au>
Sun, 6 Aug 2006 21:26:28 +0000
(21:26 +0000)
Wed Jul 26 08:22:50 EDT 2006 simonpj@microsoft.com
compiler/types/FunDeps.lhs
patch
|
blob
|
history
diff --git
a/compiler/types/FunDeps.lhs
b/compiler/types/FunDeps.lhs
index
0d7eb24
..
5ece047
100644
(file)
--- a/
compiler/types/FunDeps.lhs
+++ b/
compiler/types/FunDeps.lhs
@@
-222,7
+222,11
@@
NOTA BENE:
improve inst_env preds
= [ eqn | group <- equivClassesByUniq (predTyUnique . fst) (filterEqPreds preds),
eqn <- checkGroup inst_env group ]
- where filterEqPreds = filter (not . isEqPred . fst)
+ where
+ filterEqPreds = filter (not . isEqPred . fst)
+ -- Equality predicates don't have uniques
+ -- In any case, improvement *generates*, rather than
+ -- *consumes*, equality constraints
----------
checkGroup :: (Class -> [Instance])