[project @ 2004-11-18 00:56:18 by igloo]
[ghc-hetmet.git] / ghc / compiler / hsSyn / HsSyn.lhs
index 96379a5..a9982a6 100644 (file)
@@ -17,7 +17,7 @@ module HsSyn (
        module HsPat,
        module HsTypes,
        module HsUtils,
-       Fixity, NewOrData, 
+       Fixity,
 
        HsModule(..), HsExtCore(..)
      ) where
@@ -33,15 +33,14 @@ import HsLit
 import HsPat
 import HsTypes
 import HscTypes                ( DeprecTxt )
-import BasicTypes      ( Fixity, NewOrData )
+import BasicTypes      ( Fixity )
 import HsUtils
 
 -- others:
 import IfaceSyn                ( IfaceBinding )
 import Outputable
-import SrcLoc          ( Located(..), unLoc, noLoc )
+import SrcLoc          ( Located(..) )
 import Module          ( Module )
-import Bag             ( Bag, foldrBag )
 \end{code}
 
 All we actually declare here is the top-level structure for a module.
@@ -57,7 +56,7 @@ data HsModule name
                                -- imported interfaces early on, adding that
                                -- info to TyDecls/etc; so this list is
                                -- often empty, downstream.
-       [LHsDecl name]  -- Type, class, value, and interface signature decls
+       [LHsDecl name]          -- Type, class, value, and interface signature decls
        (Maybe DeprecTxt)       -- reason/explanation for deprecation of this module
 
 data HsExtCore name    -- Read from Foo.hcr