import RnHsSyn
import TcHsSyn
-import ErrUtils ( TcWarning(..), TcError(..) )
+import ErrUtils ( Warning(..), Error(..) )
import Pretty
import RnUtils ( GlobalNameMappers(..), GlobalNameMapper(..) )
import Maybes ( MaybeErr(..) )
-> -- OUTPUTS ...
MaybeErr
-- SUCCESS ...
- (((TypecheckedHsBinds, -- binds from class decls; does NOT
+ (((TypecheckedHsBinds, -- record selector definitions
+ TypecheckedHsBinds, -- binds from class decls; does NOT
-- include default-methods bindings
TypecheckedHsBinds, -- binds from instance decls; INCLUDES
-- class default-methods binds
[(Id, TypecheckedHsExpr)] -- constant instance binds
),
- ([RenamedFixityDecl], [Id], UniqFM TyCon, UniqFM Class, Bag InstInfo),
+ ([RenamedFixityDecl], [Id], [TyCon], [Class], Bag InstInfo),
-- things for the interface generator
- (UniqFM TyCon, UniqFM Class),
+ ([TyCon], [Class]),
-- environments of info from this module only
FiniteMap TyCon [(Bool, [Maybe Type])],
PprStyle->Pretty), -- stuff to print for -ddump-deriving
- Bag TcWarning) -- pretty-print this to get warnings
+ Bag Warning) -- pretty-print this to get warnings
-- FAILURE ...
- (Bag TcError, -- pretty-print this to get errors
- Bag TcWarning) -- pretty-print this to get warnings
+ (Bag Error, -- pretty-print this to get errors
+ Bag Warning) -- pretty-print this to get warnings
typecheckModule us renamer_name_funs mod
= initTc us (tcModule renamer_name_funs mod)