Use OPTIONS rather than OPTIONS_GHC for pragmas
[ghc-hetmet.git] / compiler / hsSyn / HsPat.lhs
index 842a4f1..5572f62 100644 (file)
@@ -5,6 +5,13 @@
 \section[PatSyntax]{Abstract Haskell syntax---patterns}
 
 \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 HsPat (
        Pat(..), InPat, OutPat, LPat, 
        
@@ -28,7 +35,6 @@ import {-# SOURCE #-} HsExpr          ( SyntaxExpr )
 import HsBinds
 import HsLit
 import HsTypes
-import HsDoc
 import BasicTypes
 -- others:
 import PprCore         ( {- instance OutputableBndr TyVar -} )