[GHC] #11801: RFC: Make browse command display everything unqualified
GHC
ghc-devs at haskell.org
Thu Apr 7 10:55:12 UTC 2016
#11801: RFC: Make browse command display everything unqualified
-------------------------------------+-------------------------------------
Reporter: Iceland_jack | Owner:
Type: feature request | Status: new
Priority: lowest | Milestone:
Component: GHCi | Version:
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by nomeata):
What about names that occur in types that are not from the browed module,
and not in scope? Should they be qualified?
Is this attempt to be precise what you want: “:browse Foo” should never
print the names of symbols (left of `::`) qualified, and in the types,
should print as if `Foo` is imported, i.e. only qualify it if there would
be a clash.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11801#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list