[project @ 2000-07-07 12:13:43 by simonpj]
authorsimonpj <unknown>
Fri, 7 Jul 2000 12:13:44 +0000 (12:13 +0000)
committersimonpj <unknown>
Fri, 7 Jul 2000 12:13:44 +0000 (12:13 +0000)
commit7bb069508f094825ca136ed97606651f3e093123
treed6112e0c0f644cf6916dbd21ebab277e750e64d2
parentec459c238894ee4e2f7d1a30875a4d5446131c5d
[project @ 2000-07-07 12:13:43 by simonpj]
This commit moves the instance environment out of the Class data
structure, where it was immutable, to part of the type-checker
environment.  This change is absolutely essential as part of
our move to GHCi, and I think it's also going to be necessary
for Andrei's work on generic functions.

As part of this change, we can remove

  a) types/InstEnv.* (thereby also removing a hi-boot loop)
  b) a tc-fixpoint-loop in TcModule

Both of these are worthwhile simplifications.
14 files changed:
ghc/compiler/DEPEND-NOTES
ghc/compiler/typecheck/Inst.lhs
ghc/compiler/typecheck/TcClassDcl.lhs
ghc/compiler/typecheck/TcDeriv.lhs
ghc/compiler/typecheck/TcEnv.lhs
ghc/compiler/typecheck/TcImprove.lhs
ghc/compiler/typecheck/TcInstUtil.lhs
ghc/compiler/typecheck/TcModule.lhs
ghc/compiler/typecheck/TcSimplify.lhs
ghc/compiler/typecheck/TcTyClsDecls.lhs
ghc/compiler/types/Class.lhs
ghc/compiler/types/InstEnv.hi-boot [deleted file]
ghc/compiler/types/InstEnv.hi-boot-5 [deleted file]
ghc/compiler/types/InstEnv.lhs [deleted file]