[GHC] #11051: GHCi with +t option set shows type representations

GHC ghc-devs at haskell.org
Sat Jan 9 19:29:04 UTC 2016


#11051: GHCi with +t option set shows type representations
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:  bgamari
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.11
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Incorrect result  |  Unknown/Multiple
  at runtime                         |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by bgamari):

 One of the reasons this seems to be so tricky is that `NameSort` conflates
 a few concerns,

  * Is the name given to us by the user or provided by the compiler (e.g.
 `WiredIn`)?
  * Is the name usable outside of the current module (`External` and
 `Internal`)?
  * Should the name be shown to the user (e.g. `System`)?

 It's not entirely clear to me when this various constructors are being
 used to represent what points in this space.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11051#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list