projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactor, improve, and document the deriving mechanism
[ghc-hetmet.git]
/
compiler
/
types
/
Class.lhs
diff --git
a/compiler/types/Class.lhs
b/compiler/types/Class.lhs
index
abf7e4b
..
29ce00c
100644
(file)
--- a/
compiler/types/Class.lhs
+++ b/
compiler/types/Class.lhs
@@
-1,9
+1,18
@@
%
%
+% (c) The University of Glasgow 2006
% (c) The GRASP/AQUA Project, Glasgow University, 1992-1998
%
% (c) The GRASP/AQUA Project, Glasgow University, 1992-1998
%
-\section[Class]{The @Class@ datatype}
+
+The @Class@ datatype
\begin{code}
\begin{code}
+{-# OPTIONS -w #-}
+-- The above warning supression flag is a temporary kludge.
+-- While working on this module you are encouraged to remove it and fix
+-- any warnings in the module. See
+-- http://hackage.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#Warnings
+-- for details
+
module Class (
Class, ClassOpItem,
DefMeth (..),
module Class (
Class, ClassOpItem,
DefMeth (..),
@@
-20,10
+29,10
@@
module Class (
import {-# SOURCE #-} TyCon ( TyCon )
import {-# SOURCE #-} TypeRep ( PredType )
import {-# SOURCE #-} TyCon ( TyCon )
import {-# SOURCE #-} TypeRep ( PredType )
-import Var ( Id, TyVar )
-import Name ( NamedThing(..), Name )
-import BasicTypes ( Arity )
-import Unique ( Unique, Uniquable(..) )
+import Var
+import Name
+import BasicTypes
+import Unique
import Outputable
\end{code}
import Outputable
\end{code}