Update hi-boot files to fix building with old GHCs
authorIan Lynagh <igloo@earth.li>
Mon, 9 Oct 2006 19:32:18 +0000 (19:32 +0000)
committerIan Lynagh <igloo@earth.li>
Mon, 9 Oct 2006 19:32:18 +0000 (19:32 +0000)
compiler/iface/TcIface.hi-boot-6
compiler/parser/HaddockLex.hi-boot-6 [new file with mode: 0644]
compiler/typecheck/TcMatches.hi-boot-6
compiler/types/TypeRep.hi-boot-6

index b03830c..1a43e0e 100644 (file)
@@ -1,7 +1,7 @@
 module TcIface where
 
-tcIfaceDecl  :: IfaceSyn.IfaceDecl -> TcRnTypes.IfL TypeRep.TyThing
+tcIfaceDecl  :: GHC.Base.Bool -> IfaceSyn.IfaceDecl -> TcRnTypes.IfL TypeRep.TyThing
 tcIfaceInst  :: IfaceSyn.IfaceInst -> TcRnTypes.IfL InstEnv.Instance
-tcIfaceRule  :: IfaceSyn.IfaceRule -> TcRnTypes.IfL CoreSyn.CoreRule
+tcIfaceRules :: GHC.Base.Bool -> [IfaceSyn.IfaceRule] -> TcRnTypes.IfL [CoreSyn.CoreRule]
 
 
diff --git a/compiler/parser/HaddockLex.hi-boot-6 b/compiler/parser/HaddockLex.hi-boot-6
new file mode 100644 (file)
index 0000000..37ce2c1
--- /dev/null
@@ -0,0 +1,16 @@
+module HaddockLex where
+
+tokenise :: GHC.Base.String -> [Token]
+
+data Token
+  = TokPara
+  | TokNumber
+  | TokBullet
+  | TokDefStart
+  | TokDefEnd
+  | TokSpecial GHC.Base.Char
+  | TokIdent [RdrName.RdrName]
+  | TokString GHC.Base.String
+  | TokURL GHC.Base.String
+  | TokAName GHC.Base.String
+  | TokBirdTrack GHC.Base.String
index fb723a4..b325232 100644 (file)
@@ -2,9 +2,9 @@ module TcMatches where
 
 tcGRHSsPat    :: HsExpr.GRHSs Name.Name
              -> TcType.BoxyRhoType
-             -> TcRnTypes.TcM (HsExpr.GRHSs Var.Id)
+             -> TcRnTypes.TcM (HsExpr.GRHSs TcRnTypes.TcId)
 
 tcMatchesFun :: Name.Name
             -> HsExpr.MatchGroup Name.Name
             -> TcType.BoxyRhoType
-            -> TcRnTypes.TcM (HsBinds.ExprCoFn, HsExpr.MatchGroup Var.Id)
+            -> TcRnTypes.TcM (HsBinds.HsWrapper, HsExpr.MatchGroup TcRnTypes.TcId)
index 55d80a6..6a5628f 100644 (file)
@@ -3,4 +3,5 @@ module TypeRep where
 data Type
 data PredType
 data TyThing
+type Kind = Type