From: simonpj Date: Thu, 17 Mar 2005 12:04:07 +0000 (+0000) Subject: [project @ 2005-03-17 12:04:07 by simonpj] X-Git-Tag: Initial_conversion_from_CVS_complete~892 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=fdda641e2c25903d2b92364f976badc599a1b759;p=ghc-hetmet.git [project @ 2005-03-17 12:04:07 by simonpj] Re-clarify hs-boot docs --- 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.