-- any warnings in the module. See
-- http://hackage.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#Warnings
-- for details
+{-# LANGUAGE DeriveDataTypeable #-}
module HsImpExp where
import Module ( ModuleName )
-import HsDoc ( HsDoc )
+import HsDoc ( HsDocString )
import Outputable
import FastString
import SrcLoc ( Located(..) )
+
+import Data.Data
\end{code}
%************************************************************************
ideclQualified :: Bool, -- ^ True => qualified
ideclAs :: Maybe ModuleName, -- ^ as Module
ideclHiding :: Maybe (Bool, [LIE name]) -- ^ (True => hiding, names)
- }
+ } deriving (Data, Typeable)
\end{code}
\begin{code}
| IEThingAll name -- ^ Class/Type plus all methods/constructors
| IEThingWith name [name] -- ^ Class/Type plus some methods/constructors
| IEModuleContents ModuleName -- ^ (Export Only)
- | IEGroup Int (HsDoc name) -- ^ Doc section heading
- | IEDoc (HsDoc name) -- ^ Some documentation
+ | IEGroup Int HsDocString -- ^ Doc section heading
+ | IEDoc HsDocString -- ^ Some documentation
| IEDocNamed String -- ^ Reference to named doc
+ deriving (Data, Typeable)
\end{code}
\begin{code}