Don't import FastString in HsVersions.h
[ghc-hetmet.git] / compiler / hsSyn / HsDoc.hs
index bd75408..fd721c0 100644 (file)
@@ -1,10 +1,3 @@
-{-# 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/Commentary/CodingStyle#Warnings
--- for details
-
 module HsDoc (
   HsDoc(..),
   LHsDoc,
@@ -43,6 +36,7 @@ type LHsDoc a = Located (HsDoc a)
 instance Outputable (HsDoc a) where
   ppr _ = text "<document comment>"
 
+ppr_mbDoc :: Maybe (LHsDoc a) -> SDoc
 ppr_mbDoc (Just doc) = ppr doc
 ppr_mbDoc Nothing    = empty