module HsPat,
module HsTypes,
module HsUtils,
- Fixity, NewOrData,
+ Fixity,
- HsModule(..), HsExtCore(..),
- collectStmtsBinders, collectStmtBinders, collectLStmtBinders,
- collectGroupBinders, collectHsBindLocatedBinders,
- collectHsBindBinders,
- collectSigTysFromHsBind, collectSigTysFromHsBinds
+ HsModule(..), HsExtCore(..)
) where
#include "HsVersions.h"
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.
-- 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