[project @ 2004-02-24 15:57:52 by simonpj]
authorsimonpj <unknown>
Tue, 24 Feb 2004 15:57:59 +0000 (15:57 +0000)
committersimonpj <unknown>
Tue, 24 Feb 2004 15:57:59 +0000 (15:57 +0000)
commit53fe941370fd7fc90bf2e725f0f0b7c0382ceb4e
tree65380f6c085167e77efa11e550c61bf36a17c49a
parent42ab01d7f2ff076d91703a333caa5561fb3fd91a
[project @ 2004-02-24 15:57:52 by simonpj]
---------------------------------------
    Record dependency on Template Haskell package
  ---------------------------------------

An unforseen consequence of making the Template Haskell package separate
is that we need to record dependency on the package, even if no TH module
is imported.  So we carry round (another) mutable variable tcg_th_used in
the tyepchecker monad, and zap it when $(...) and [| ... |] are used.

I did a little tidy-up and documentation in ListSetOps too
ghc/compiler/deSugar/Desugar.lhs
ghc/compiler/main/HscTypes.lhs
ghc/compiler/rename/RnNames.lhs
ghc/compiler/typecheck/TcRnMonad.lhs
ghc/compiler/typecheck/TcRnTypes.lhs
ghc/compiler/typecheck/TcSplice.lhs
ghc/compiler/utils/ListSetOps.lhs