[project @ 2002-05-09 10:43:26 by simonmar]
authorsimonmar <unknown>
Thu, 9 May 2002 10:43:26 +0000 (10:43 +0000)
committersimonmar <unknown>
Thu, 9 May 2002 10:43:26 +0000 (10:43 +0000)
Omit the imports in Haddock, to avoid module recursion

GHC/Err.lhs

index e7abb0c..35b0716 100644 (file)
@@ -38,9 +38,11 @@ module GHC.Err
        , undefined                -- :: a
        ) where
 
+#ifndef __HADDOCK__
 import GHC.Base
 import GHC.List     ( span )
 import GHC.Exception
+#endif
 \end{code}
 
 %*********************************************************