In GHCi, filter instances by what is in scope, not just by what is in scope unqualified
authorsimonpj@microsoft.com <unknown>
Sat, 4 Aug 2007 17:35:39 +0000 (17:35 +0000)
committersimonpj@microsoft.com <unknown>
Sat, 4 Aug 2007 17:35:39 +0000 (17:35 +0000)
commitb0d80aa3d908a6b9991920a5ac7fd1b437ecafd3
tree48c6bbfcabccf758ed92e45431524fbba2faa8eb
parent7df91d495b6072ced7cc5f47b9483b25e0cf0263
In GHCi, filter instances by what is in scope, not just by what is in scope unqualified

Trac #1581 was doing too much filtering; it even filtered out intances
defined in this very module!  The new rule shows more instances, but
hopefully not to many.

Furthermore I have moved the filtering out of TcRnDriver (where it does
not belong) to InteractiveEval. And I've added a note to the documentation.
compiler/main/InteractiveEval.hs
compiler/typecheck/TcRnDriver.lhs
docs/users_guide/ghci.xml