X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fiface%2FIfaceSyn.lhs;h=470a5ea06d7391f1634496244cab5ffb9c222c38;hb=2900ac71b7f36fbf2f4a89b4dd85583f694bc31c;hp=51e5f8a2312e647ddb0837994316c674c72143d0;hpb=4bc25e8c30559b7a6a87b39afcc79340ae778788;p=ghc-hetmet.git diff --git a/compiler/iface/IfaceSyn.lhs b/compiler/iface/IfaceSyn.lhs index 51e5f8a..470a5ea 100644 --- a/compiler/iface/IfaceSyn.lhs +++ b/compiler/iface/IfaceSyn.lhs @@ -41,9 +41,6 @@ import Outputable import FastString import Module -import Data.List -import Data.Maybe - infixl 3 &&& \end{code} @@ -183,7 +180,7 @@ type IfaceAnnTarget = AnnTarget OccName data IfaceIdDetails = IfVanillaId - | IfRecSelId Bool + | IfRecSelId IfaceTyCon Bool | IfDFunId data IfaceIdInfo @@ -649,8 +646,8 @@ instance Outputable IfaceConAlt where ------------------ instance Outputable IfaceIdDetails where ppr IfVanillaId = empty - ppr (IfRecSelId b) = ptext (sLit "RecSel") - <> if b then ptext (sLit "") else empty + ppr (IfRecSelId tc b) = ptext (sLit "RecSel") <+> ppr tc + <+> if b then ptext (sLit "") else empty ppr IfDFunId = ptext (sLit "DFunId") instance Outputable IfaceIdInfo where