# -----------------------------------------------------------------------------
-# $Id: Makefile,v 1.58 1999/05/18 15:03:34 simonpj Exp $
+# $Id: Makefile,v 1.59 1999/05/18 16:38:23 simonpj Exp $
TOP = ..
include $(TOP)/mk/boilerplate.mk
# tmp, -- SDM
specialise/Specialise_HC_OPTS += -fno-prune-tydecls
hsSyn/HsBasic_HC_OPTS += -fno-prune-tydecls
+simplCore/SimplMonad_HC_OPTS += -fno-prune-tydecls
+absCSyn/AbsCSyn_HC_OPTS += -fno-prune-tydecls
+absCSyn/AbsCUtils_HC_OPTS += -fno-prune-tydecls
+codeGen/CgBindery_HC_OPTS += -fno-prune-tydecls
+codeGen/CgLetNoEscape_HC_OPTS += -fno-prune-tydecls
+codeGen/CgExpr_HC_OPTS += -fno-prune-tydecls
+nativeGen/AbsCStixGen_HC_OPTS += -fno-prune-tydecls
# Was 10m for 2.10
typecheck/TcHsSyn_HC_OPTS = -H15m
__interface CoreSyn 1 0 where
-__export CoreSyn CoreExpr CoreRules CoreRule emptyCoreRules ;
+__export CoreSyn CoreExpr CoreRules CoreRule emptyCoreRules isEmptyCoreRules ;
-- Needed by IdInfo
1 type CoreExpr = Expr Var.IdOrTyVar;
1 data CoreRule ;
1 type CoreRules = [CoreRule] ;
1 emptyCoreRules :: CoreRules ;
+1 isEmptyCoreRules :: CoreRules -> PrelBase.Bool ;
go (NoteTy (SynNote ty1) ty2) = NoteTy (SynNote $! (go ty1)) $! (go ty2)
go (NoteTy (FTVNote _) ty2) = go ty2 -- Discard the free tyvar note
go (FunTy arg res) = (FunTy $! (go arg)) $! (go res)
- go (NoteTy (UsgNote usg) ty2) = NoteTy $! UsgNote usg $! go ty2 -- Keep usage annot
+ go (NoteTy (UsgNote usg) ty2) = (NoteTy $! UsgNote usg) $! go ty2 -- Keep usage annot
go (AppTy fun arg) = mkAppTy (go fun) $! (go arg)
go ty@(TyVarTy tv) = case (lookupSubst subst tv) of
Nothing -> ty