X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=docs%2Fusers_guide%2Fbugs.xml;h=7fd47c9a200c4ee1f48eab83c69bda4526ed96de;hb=cc8e41a3c5e05a1076254ab39a56074e70f9e863;hp=50ffb399a43a9c574af135cb022f9d998f5bfe5a;hpb=f9d8c0acef9983e87b6354b87f2a577be2e8dd51;p=ghc-hetmet.git diff --git a/docs/users_guide/bugs.xml b/docs/users_guide/bugs.xml index 50ffb39..7fd47c9 100644 --- a/docs/users_guide/bugs.xml +++ b/docs/users_guide/bugs.xml @@ -98,14 +98,28 @@ main = do args <- getArgs GHC's typechecker makes all pattern bindings monomorphic by default; this behaviour can be disabled with - . See -XNoMonoPatBinds. See . 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." + + + @@ -284,6 +298,24 @@ checking for duplicates. The reason for this is efficiency, pure and simple. + + + Divergence from the FFI specification + + + + hs_init() not allowed + after hs_exit() + + The FFI spec requires the implementation to support + re-initialising itself after being shut down + with hs_exit(), but GHC does not + currently support that. + + + + +