From: simonpj@microsoft.com Date: Tue, 19 Aug 2008 12:30:16 +0000 (+0000) Subject: Fix Trac #2518: add hs-boot files as an infelicty X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=41b9dfa595948df05e3f1370861ec9869ec852bb Fix Trac #2518: add hs-boot files as an infelicty --- diff --git a/docs/users_guide/bugs.xml b/docs/users_guide/bugs.xml index fdeeaa8..4d79d24 100644 --- a/docs/users_guide/bugs.xml +++ b/docs/users_guide/bugs.xml @@ -105,7 +105,21 @@ main = do args <- getArgs Module system and interface files - None known. + GHC requires the use of hs-boot + files to cut the recursive loops among mutually recursive modules + as described in . This more of an infelicity + than a bug: the Haskell Report says + (Section 5.7) "Depending on the Haskell + implementation used, separate compilation of mutually + recursive modules may require that imported modules contain + additional information so that they may be referenced before + they are compiled. Explicit type signatures for all exported + values may be necessary to deal with mutual recursion. The + precise details of separate compilation are not defined by + this Report." + + +