[GHC] #1847: Oddity with :browse!
GHC
trac at galois.com
Wed Nov 7 07:57:25 EST 2007
#1847: Oddity with :browse!
----------------------+-----------------------------------------------------
Reporter: simonmar | Owner: claus.reinke at talk21.com
Type: bug | Status: new
Priority: normal | Milestone: 6.8.2
Component: GHCi | Version: 6.8.1
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Architecture: Unknown
Os: Unknown |
----------------------+-----------------------------------------------------
Comment (by simonmar):
Ok, so `:browse!` does something I wasn't expecting: it not only lists the
entities of the specified module, it tells you about their provenance
relative to the current context. Could this "current context" stuff be
documented a bit more?
Now that I understand what `:browse!` does, there's something I find
strange. The output is printed using the `PrintUnqualified` generated by
setting the module context to the specified module, and yet we are giving
information about provenance relative to the ''current'' context. This
could be confusing, no? I'm sure I could construct an example if
necessary.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1847#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list