From: simonmar Date: Tue, 21 Oct 2003 10:06:33 +0000 (+0000) Subject: [project @ 2003-10-21 10:06:33 by simonmar] X-Git-Tag: Approx_11550_changesets_converted~350 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=166d8dafebfacd83565dff21e3d9f59e2200a39e;p=ghc-hetmet.git [project @ 2003-10-21 10:06:33 by simonmar] Clarify one paragraph in the recompilation checker section (I hope). --- diff --git a/ghc/docs/users_guide/separate_compilation.sgml b/ghc/docs/users_guide/separate_compilation.sgml index 3192e66..f9a06bf 100644 --- a/ghc/docs/users_guide/separate_compilation.sgml +++ b/ghc/docs/users_guide/separate_compilation.sgml @@ -619,10 +619,14 @@ $ ghc -c parse/Foo.hs parse/Bar.hs gurgle/Bumble.hs -odir `arch` This doesn't work any more. Suppose module C imports module B, and B imports module A. So - changes to A.hi should force a - recompilation of C. And some changes to - A (changing the definition of a function that - appears in an inlining of a function exported by + changes to module A might require module + C to be recompiled, and hence when + A.hi changes we should check whether + C should be recompiled. However, the + dependencies of C will only list + B.hi, not A.hi, and some + changes to A (changing the definition of a + function that appears in an inlining of a function exported by B, say) may conceivably not change B.hi one jot. So now…