Commit fdda641e authored by simonpj's avatar simonpj
Browse files

[project @ 2005-03-17 12:04:07 by simonpj]

Re-clarify hs-boot docs
parent 79c47ee8
...@@ -719,12 +719,12 @@ When a hs-boot file <filename>A.hs-boot</filename> ...@@ -719,12 +719,12 @@ When a hs-boot file <filename>A.hs-boot</filename>
<command>ghc -M</command> will report an error if a cycle is found. <command>ghc -M</command> will report an error if a cycle is found.
</para></listitem> </para></listitem>
<listitem><para> Every module that is <listitem><para> A module <literal>M</literal> that is
<literal>{-# SOURCE #-}</literal>-imported in a program must also be ordinarily imported (or <literal>{-# SOURCE #-}</literal>-imported in a program will usually also be
else be one of the root modules). To put it another way, if <literal>M.hs-boot</literal> is ordinarily imported elsewhere. If not, <command>ghc --make</command>
reachable in the import graph, then <literal>M.hs</literal> must also be reachable. automatically adds <literal>M</literal> to the set of moudles it tries to
The command <command>ghc --make</command> will report an error if this compile and link, to ensure that <literal>M</literal>'s implementation is included in
condition is not satisfied. the final program.
</para></listitem> </para></listitem>
</itemizedlist> </itemizedlist>
</para> </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