[project @ 2002-08-01 12:49:41 by simonpj]
authorsimonpj <unknown>
Thu, 1 Aug 2002 12:49:41 +0000 (12:49 +0000)
committersimonpj <unknown>
Thu, 1 Aug 2002 12:49:41 +0000 (12:49 +0000)
Comments only

ghc/compiler/typecheck/TcMonoType.lhs

index 7358cd3..eedad78 100644 (file)
@@ -664,7 +664,8 @@ hoistForAllTys ty
     in
     case hoist no_shadow_ty of 
        (tvs, theta, body) -> mkForAllTys tvs (mkFunTys (nubBy tcEqType theta) body)
-               -- The 'nubBy' eliminates duplicate constraints
+               -- The 'nubBy' eliminates duplicate constraints,
+               -- notably implicit parameters
   where
     hoist ty
        | (tvs1, body_ty) <- tcSplitForAllTys ty,