X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2FDEPEND-NOTES;h=f2ba2443152167f6a2af534340fe28ab120fe5ad;hb=e17270158bebe11ee953e3d91abf82dcd16a2203;hp=f92764efa54d8b5e1bf883d81d72d967ff6f2139;hpb=376b25a5f43f5358cd4112cdced77c4b931d2b0f;p=ghc-hetmet.git diff --git a/ghc/compiler/DEPEND-NOTES b/ghc/compiler/DEPEND-NOTES index f92764e..f2ba244 100644 --- a/ghc/compiler/DEPEND-NOTES +++ b/ghc/compiler/DEPEND-NOTES @@ -1,53 +1,4 @@ - Notes on module dependencies - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Module dependency information is now given in the GHC commentary -The Name/Var/Type group is a bit complicated. Here's the deal -Things in brackets are what the module *uses*. -A 'loop' indicates a use from a module compiled later - - Name, PrimRep, FieldLabel (loop Type.Type) -then - PrelNames -then - Var (Name, loop CoreSyn.CoreExpr, loop IdInfo.IdInfo, - loop Type.GenType, loop Type.Kind) -then - VarEnv, VarSet, ThinAir -then - Class (loop TyCon.TyCon, loop Type.Type) -then - TyCon (loop Type.Type, loop Type.Kind, loop DataCon.DataCon, loop Generics.GenInfo) -then - Type (loop DataCon.DataCon, loop Subst.substTy) -then - TysPrim (Type), PprEnv (loop DataCon.DataCon, Type) -then - Unify, PprType (PprEnv) -then - Literal (TysPrim, PprType), DataCon (PprType) -then - TysWiredIn (DataCon.mkDataCon, loop MkId.mkDataConId, loop Generics.mkGenInfo) -then - PrimOp (PprType, TysWiredIn) -then - CoreSyn -then - IdInfo (CoreSyn.Unfolding, CoreSyn.CoreRules) -then - Id (lots from IdInfo) -then - CoreFVs, PprCore -then - CoreUtils (PprCore.pprCoreExpr, CoreFVs.exprFreeVars, - CoreSyn.isEvaldUnfolding CoreSyn.maybeUnfoldingTemplate) -then - OccurAnal (CoreUtils.exprIsTrivial) -then - CoreUnfold (OccurAnal.occurAnalyseGlobalExpr) -then - Rules (Unfolding), Subst (Unfolding, CoreFVs), CoreTidy (noUnfolding), Generics (mkTopUnfolding) -then - MkId (CoreUnfold.mkUnfolding, Subst) -then - PrelInfo (MkId) + ghc/docs/comm/genesis/modules.html