Generate Typeable info at definition sites
[ghc.git] / libraries / base / GHC / Stack / Types.hs
index 5c37f64..d3ea1d2 100644 (file)
@@ -21,6 +21,19 @@ module GHC.Stack.Types (
     SrcLoc(..), CallStack(..),
   ) where
 
+{-
+Ideally these would live in GHC.Stack but sadly they can't due to this
+import cycle,
+
+    Module imports form a cycle:
+           module ‘Data.Maybe’ (libraries/base/Data/Maybe.hs)
+          imports ‘GHC.Base’ (libraries/base/GHC/Base.hs)
+    which imports ‘GHC.Err’ (libraries/base/GHC/Err.hs)
+    which imports ‘GHC.Stack’ (libraries/base/dist-install/build/GHC/Stack.hs)
+    which imports ‘GHC.Foreign’ (libraries/base/GHC/Foreign.hs)
+    which imports ‘Data.Maybe’ (libraries/base/Data/Maybe.hs)
+-}
+
 import GHC.Types
 
 -- Make implicit dependency known to build system