X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Ftypecheck%2FTcSimplify.lhs;h=535b5616bde8ffcd136f400ce03c15e74ed91991;hb=2fc5aa708982a414235d3aff68dea4329b546063;hp=546d96e3a56113705cda177d52cbba9cff18ea27;hpb=d2ce0f52d42edf32bb9f13796e6ba6edba8bd516;p=ghc-hetmet.git diff --git a/compiler/typecheck/TcSimplify.lhs b/compiler/typecheck/TcSimplify.lhs index 546d96e..535b561 100644 --- a/compiler/typecheck/TcSimplify.lhs +++ b/compiler/typecheck/TcSimplify.lhs @@ -816,7 +816,7 @@ findDefaultableGroups (ctxt, default_tys, (ovl_strings, extended_defaults)) | otherwise = filter is_defaultable_group (equivClasses cmp_tv unaries) where unaries :: [(CanonicalCt, TcTyVar)] -- (C tv) constraints - non_unaries :: [CanonicalCt] -- *other* constraints + non_unaries :: [CanonicalCt] -- and *other* constraints (unaries, non_unaries) = partitionWith find_unary (bagToList wanteds) -- Finds unary type-class constraints