[project @ 1996-03-19 08:58:34 by partain]
[ghc-hetmet.git] / ghc / compiler / basicTypes / NameLoop.lhi
1 Breaks the Name/Id loop, and the Name/Id/PprType loop.
2
3 \begin{code}
4 interface NameLoop where
5
6 import Id               ( GenId )
7 import Outputable       ( NamedThing, Outputable )
8 import TyCon            ( TyCon )
9 import Type             ( GenType )
10 import TyVar            ( GenTyVar )
11 import Util             ( Ord3(..) )
12
13 instance NamedThing     (GenId a)
14 instance Ord3           (GenId a)
15 instance (Outputable a) => Outputable (GenId a)
16
17 instance (Eq a, Outputable a, Eq b, Outputable b) => Outputable (GenType a b)
18 instance Outputable     (GenTyVar a)
19 instance Outputable     TyCon
20 \end{code}