Use OPTIONS rather than OPTIONS_GHC for pragmas
[ghc-hetmet.git] / compiler / basicTypes / Module.lhs
index 720c51f..10f2279 100644 (file)
@@ -1,5 +1,5 @@
 %
-% (c) The University of Glasgow, 2004
+% (c) The University of Glasgow, 2004-2006
 %
 
 Module
@@ -9,6 +9,13 @@ These are Uniquable, hence we can build FiniteMaps with Modules as
 the keys.
 
 \begin{code}
+{-# OPTIONS -w #-}
+-- The above warning supression flag is a temporary kludge.
+-- While working on this module you are encouraged to remove it and fix
+-- any warnings in the module. See
+--     http://hackage.haskell.org/trac/ghc/wiki/CodingStyle#Warnings
+-- for details
+
 module Module 
     (
        -- * The ModuleName type
@@ -48,10 +55,10 @@ module Module
 
 #include "HsVersions.h"
 import Outputable
-import Unique          ( Uniquable(..) )
+import Unique
 import FiniteMap
 import UniqFM
-import PackageConfig   ( PackageId, packageIdFS, mainPackageId )
+import PackageConfig
 import FastString
 import Binary
 \end{code}