X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fdocs%2Fusers_guide%2Fseparate_compilation.xml;h=cae8d352fc08ff8cff74a22d71e15a4d7676ebcf;hb=fdda641e2c25903d2b92364f976badc599a1b759;hp=f750128789e248979878fdc814ca524d1ebc7d23;hpb=79c47ee84b0aeec8639c8c35021ffd2bbc810d46;p=ghc-hetmet.git diff --git a/ghc/docs/users_guide/separate_compilation.xml b/ghc/docs/users_guide/separate_compilation.xml index f750128..cae8d35 100644 --- a/ghc/docs/users_guide/separate_compilation.xml +++ b/ghc/docs/users_guide/separate_compilation.xml @@ -719,12 +719,12 @@ When a hs-boot file A.hs-boot ghc -M will report an error if a cycle is found. - Every module that is - {-# SOURCE #-}-imported in a program must also be ordinarily imported (or - else be one of the root modules). To put it another way, if M.hs-boot is - reachable in the import graph, then M.hs must also be reachable. - The command ghc --make will report an error if this - condition is not satisfied. + A module M that is + {-# SOURCE #-}-imported in a program will usually also be + ordinarily imported elsewhere. If not, ghc --make + automatically adds M to the set of moudles it tries to + compile and link, to ensure that M's implementation is included in + the final program.