#4016: Strange display behaviour in GHCi
------------------------------+---------------------------------------------
Reporter: simonpj | Owner:
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.12.2
Resolution: | Keywords:
Difficulty: | Os: Unknown/Multiple
Testcase: | Architecture: Unknown/Multiple
Failure: None/Unknown |
------------------------------+---------------------------------------------
Changes (by simonpj):
* status: closed => new
* type: bug => feature request
* resolution: invalid =>
Comment:
OK I'll re-open as a feature suggestion.
Currently GHCi displays things qualified if either
* (a) the unqualified name would be ambiguous, or
* (b) the thing comes from a hidden package
Since we generously put in scope things from every module (whether or not
you did :m), maybe we should do the same for hidden packages. In short,
remove (b) leaving only (a).
This would need a little thought to get the design right, but it would err
on the side of doing what the user expects when there is an unambiguous
thing to do.
Simon
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4016#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs