[project @ 2001-01-25 17:47:12 by simonpj]
authorsimonpj <unknown>
Thu, 25 Jan 2001 17:47:14 +0000 (17:47 +0000)
committersimonpj <unknown>
Thu, 25 Jan 2001 17:47:14 +0000 (17:47 +0000)
commitab7fb945890d4a6895d83d60d44260772d3160d4
tree243267d0b5fa3f9dfea6401cd8550d4c9ae8d84f
parent85c5b32bf6e68f21d8a66abc94ef47ae0e853fae
[project @ 2001-01-25 17:47:12 by simonpj]
A big improvement to the way command-line expressions are typechecked.
Now we don't wrap in "print" and hope for the best (the wrong "print"
might be in scope).  Instead we work on the renamed epxression and
do the Right Thing by using the correct "print".

Also do generalisation, so that we get the right type back from
the :t command.

WARNING: it's possible that these files overlap with my fortcoming
Big Commit of typechecker stuff, so you may need to hang on for
a few mins.
ghc/compiler/compMan/CompManager.lhs
ghc/compiler/main/HscMain.lhs
ghc/compiler/prelude/PrelNames.lhs
ghc/compiler/rename/Rename.lhs
ghc/compiler/typecheck/TcModule.lhs