Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
166d8daf
Commit
166d8daf
authored
Oct 21, 2003
by
simonmar
Browse files
[project @ 2003-10-21 10:06:33 by simonmar]
Clarify one paragraph in the recompilation checker section (I hope).
parent
904e1d67
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/docs/users_guide/separate_compilation.sgml
View file @
166d8daf
...
...
@@ -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
<
literal
>
C
</
literal
>
imports
module
<
literal
>
B
</
literal
>,
and
<
literal
>
B
</
literal
>
imports
module
<
literal
>
A
</
literal
>.
So
changes
to
<
filename
>
A
.
hi
</
filename
>
should
force
a
recompilation
of
<
literal
>
C
</
literal
>.
And
some
changes
to
<
literal
>
A
</
literal
>
(
changing
the
definition
of
a
function
that
appears
in
an
inlining
of
a
function
exported
by
changes
to
module
<
literal
>
A
</
literal
>
might
require
module
<
literal
>
C
</
literal
>
to
be
recompiled
,
and
hence
when
<
filename
>
A
.
hi
</
filename
>
changes
we
should
check
whether
<
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
<
filename
>
B
.
hi
</
filename
>
one
jot
.
So
now
&
hellip
;</
para
>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment