summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2009-09-08 11:42:00 +0000
committerSimon Marlow <marlowsd@gmail.com>2009-09-08 11:42:00 +0000
commit2c2668728f850e5969029f8a269079fa49ce881f (patch)
tree916e83330adadfa17e112ca3584ebdcbb5adb341
parent63489d40bdee972656ff115ab2309b809c0e39fc (diff)
downloadhaskell-2c2668728f850e5969029f8a269079fa49ce881f.tar.gz
fix warnings
-rw-r--r--compiler/rename/RnHsDoc.hs16
1 files changed, 0 insertions, 16 deletions
diff --git a/compiler/rename/RnHsDoc.hs b/compiler/rename/RnHsDoc.hs
index d90b2fe500..beb45bbfbc 100644
--- a/compiler/rename/RnHsDoc.hs
+++ b/compiler/rename/RnHsDoc.hs
@@ -2,21 +2,9 @@
module RnHsDoc ( rnHsDoc, rnLHsDoc, rnMbLHsDoc ) where
import TcRnTypes
-import RnEnv ( dataTcOccs, lookupGreRn_maybe )
import HsSyn
-
-import RdrName ( RdrName, gre_name )
-import Name ( Name )
import SrcLoc ( Located(..) )
-import Outputable ( ppr, defaultUserStyle )
-
-rnMbHsDoc :: Maybe HsDocString -> RnM (Maybe HsDocString)
-rnMbHsDoc mb_doc = case mb_doc of
- Just doc -> do
- doc' <- rnHsDoc doc
- return (Just doc')
- Nothing -> return Nothing
rnMbLHsDoc :: Maybe LHsDocString -> RnM (Maybe LHsDocString)
rnMbLHsDoc mb_doc = case mb_doc of
@@ -30,10 +18,6 @@ rnLHsDoc (L pos doc) = do
doc' <- rnHsDoc doc
return (L pos doc')
-ids2string :: [RdrName] -> String
-ids2string [] = []
-ids2string (x:_) = show $ ppr x defaultUserStyle
-
rnHsDoc :: HsDocString -> RnM HsDocString
rnHsDoc (HsDocString s) = return (HsDocString s)