#5417: GHCi browse gets type families wrong
---------------------------------+------------------------------------------
Reporter: simonpj | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.2.1
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
Comment(by simonpj):
It's mixture of things.
* There are definitely bugs related to the display of associated types
(hence the strange `B.R:FB1`.
* The `:browse` command makes an odd choice for the scope in which id
displays its results, which in turn says what gets displayed qualified and
what does not. Currently it displays the results of `:browse M` in the
scope that would arise from `import Prelude; import M`. This is pretty
confusing.
I'm about to commit a patch to
* Fix the bugs
* Arrange that `:browse` always displays its results in the ''current
scope'' just like `:info`, `:type` and so on. Simon and I think that'll
be much less confusing.
Simon
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5417#comment:5>
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