From 166d8dafebfacd83565dff21e3d9f59e2200a39e Mon Sep 17 00:00:00 2001 From: simonmar Date: Tue, 21 Oct 2003 10:06:33 +0000 Subject: [PATCH] [project @ 2003-10-21 10:06:33 by simonmar] Clarify one paragraph in the recompilation checker section (I hope). --- ghc/docs/users_guide/separate_compilation.sgml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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… -- 1.7.10.4