summaryrefslogtreecommitdiff
path: root/ghc/compiler/typecheck/TcDeriv.hi
diff options
context:
space:
mode:
Diffstat (limited to 'ghc/compiler/typecheck/TcDeriv.hi')
-rw-r--r--ghc/compiler/typecheck/TcDeriv.hi29
1 files changed, 0 insertions, 29 deletions
diff --git a/ghc/compiler/typecheck/TcDeriv.hi b/ghc/compiler/typecheck/TcDeriv.hi
deleted file mode 100644
index e194406937..0000000000
--- a/ghc/compiler/typecheck/TcDeriv.hi
+++ /dev/null
@@ -1,29 +0,0 @@
-{-# GHC_PRAGMA INTERFACE VERSION 5 #-}
-interface TcDeriv where
-import Bag(Bag)
-import Class(Class)
-import CmdLineOpts(GlobalSwitch)
-import HsBinds(Binds)
-import HsDecls(FixityDecl)
-import HsPat(InPat)
-import Maybes(Labda)
-import Name(Name)
-import PreludePS(_PackedString)
-import Pretty(PprStyle, PrettyRep)
-import ProtoName(ProtoName)
-import SplitUniq(SplitUniqSupply)
-import SrcLoc(SrcLoc)
-import Subst(Subst)
-import TcInstDcls(InstInfo)
-import TcMonad(TcResult)
-import TyCon(TyCon)
-import TyVar(TyVar)
-import UniType(UniType)
-import UniqFM(UniqFM)
-type DerivEqn = (Class, TyCon, [TyVar], [(Class, UniType)])
-data TagThingWanted = GenCon2Tag | GenTag2Con | GenMaxTag
-con2tag_PN :: TyCon -> ProtoName
-maxtag_PN :: TyCon -> ProtoName
-tag2con_PN :: TyCon -> ProtoName
-tcDeriving :: _PackedString -> (ProtoName -> Labda Name, ProtoName -> Labda Name) -> Bag InstInfo -> UniqFM TyCon -> [FixityDecl Name] -> (GlobalSwitch -> Bool) -> [UniType] -> Subst -> SplitUniqSupply -> Bag (PprStyle -> Int -> Bool -> PrettyRep) -> SrcLoc -> TcResult (Bag InstInfo, Binds Name (InPat Name), PprStyle -> Int -> Bool -> PrettyRep)
-