[project @ 2001-02-06 12:03:10 by simonmar]
authorsimonmar <unknown>
Tue, 6 Feb 2001 12:03:10 +0000 (12:03 +0000)
committersimonmar <unknown>
Tue, 6 Feb 2001 12:03:10 +0000 (12:03 +0000)
commit0ed9d26049e04d4249f9b7852647c2cac375508c
treeca5d90fe2cce0e3eb9a6207254a99bb87aaeff69
parent1e57367c52f1639579201104e9b73a15d7111138
[project @ 2001-02-06 12:03:10 by simonmar]
Try to get the stable modules story right.  Things now work much
better: objects aren't unloaded and reloaded unnecessarily, and
compiling modules from with GHCi works:

> :! ghc -c A.hs
> :r
Compiling A ... compilation IS NOT required (using ./A.o)
Compiling B ... compilation IS NOT required
Compiling C ... compilation IS NOT required
Compiling Main ... compilation IS NOT required

Compiled module must not depend on interpreted modules, but we
currently don't enforce this restriction properly.
ghc/compiler/compMan/CmLink.lhs
ghc/compiler/compMan/CmTypes.lhs
ghc/compiler/compMan/CompManager.lhs