X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2FDEPEND-NOTES;h=f2ba2443152167f6a2af534340fe28ab120fe5ad;hb=f6c31c0fbf77b1c46c508fa56214361671ccfd05;hp=34931bd9c9cf9e2494e9ec7207246d7dcd818b45;hpb=5ca77490a603e0175bb717343884533ad8de017d;p=ghc-hetmet.git diff --git a/ghc/compiler/DEPEND-NOTES b/ghc/compiler/DEPEND-NOTES index 34931bd..f2ba244 100644 --- a/ghc/compiler/DEPEND-NOTES +++ b/ghc/compiler/DEPEND-NOTES @@ -1,44 +1,4 @@ - Notes on module dependencies - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -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 - Var (loop Const.Con, loop IdInfo.IdInfo, - loop Type.GenType, loop Type.Kind) -then - VarEnv, VarSet, ThinAir -then - Class (loop TyCon.TyCon, loop Type.Type, loop InstEnv.InstEnv) -then - TyCon (loop Type.Type, loop Type.Kind, loop DataCon.DataCon) -then - Type (loop DataCon.DataCon, loop Subst.substTy) -then - DataCon, TysPrim, Unify, PprType -then - InstEnv (Unify) -then - IdInfo (loop CoreRules.CoreRules) - TysWiredIn (DataCon.mkDataCon, loop MkId.mkDataConId) -then - PrimOp (PprType, TysWiredIn, IdInfo.StrictnessInfo) -then - Const (PrimOp.PrimOp, TysWiredIn.stringTy) -then - Id (Const.Con(..)), CoreSyn -then - CoreUtils (loop PprCore.pprCoreExpr), CoreFVs -then - OccurAnal (ThinAir.noRepStrs -- an awkward dependency) -then - CoreUnfold (loop OccurAnal.globalOccurAnalyse) -then - Rules (Unfolding), Subst (Unfolding, CoreFVs), CoreTidy (noUnfolding) -then - MkId (CoreUnfold.mkUnfolding, Subst) +Module dependency information is now given in the GHC commentary + ghc/docs/comm/genesis/modules.html