Commit 166d8daf authored by simonmar's avatar simonmar
Browse files

[project @ 2003-10-21 10:06:33 by simonmar]

Clarify one paragraph in the recompilation checker section (I hope).
parent 904e1d67
...@@ -619,10 +619,14 @@ $ ghc -c parse/Foo.hs parse/Bar.hs gurgle/Bumble.hs -odir `arch` ...@@ -619,10 +619,14 @@ $ ghc -c parse/Foo.hs parse/Bar.hs gurgle/Bumble.hs -odir `arch`
<para>This doesn't work any more. Suppose module <para>This doesn't work any more. Suppose module
<literal>C</literal> imports module <literal>B</literal>, and <literal>C</literal> imports module <literal>B</literal>, and
<literal>B</literal> imports module <literal>A</literal>. So <literal>B</literal> imports module <literal>A</literal>. So
changes to <filename>A.hi</filename> should force a changes to module <literal>A</literal> might require module
recompilation of <literal>C</literal>. And some changes to <literal>C</literal> to be recompiled, and hence when
<literal>A</literal> (changing the definition of a function that <filename>A.hi</filename> changes we should check whether
appears in an inlining of a function exported by <literal>C</literal> should be recompiled. However, the
dependencies of <literal>C</literal> will only list
<literal>B.hi</literal>, not <literal>A.hi</literal>, and some
changes to <literal>A</literal> (changing the definition of a
function that appears in an inlining of a function exported by
<literal>B</literal>, say) may conceivably not change <literal>B</literal>, say) may conceivably not change
<filename>B.hi</filename> one jot. So now&hellip;</para> <filename>B.hi</filename> one jot. So now&hellip;</para>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment