[GHC] #13401: GHCi gives conflicting information about visible type application

GHC ghc-devs at haskell.org
Tue Mar 14 15:31:35 UTC 2017


#13401: GHCi gives conflicting information about visible type application
-------------------------------------+-------------------------------------
        Reporter:  crockeea          |                Owner:  (none)
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:
       Component:  GHCi              |              Version:  8.0.1
      Resolution:                    |             Keywords:
                                     |  TypeApplications
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #11376, #11975    |  Differential Rev(s):  Phab:3310
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ryan Scott <ryan.gl.scott@…>):

 In [changeset:"b335f506f1d3a766de849e015f6732ae130247a4/ghc" b335f50/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="b335f506f1d3a766de849e015f6732ae130247a4"
 Further document :type +v's role in analyzing -XTypeApplications in GHCi

 Summary:
 The section on `-XTypeApplications` in the users' guide isn't terribly
 clear on how to view the visibility of a function type signature's type
 variables in GHCi properly (i.e., using the `:type +v` GHCi command). This
 adds some more exposition that demonstrates how to use `:type +v` (and why
 you
 don't want to use `:type`).

 Fixes #13401.

 Test Plan: Eyeball it

 Reviewers: bgamari, austin, goldfire, crockeea

 Reviewed By: goldfire, crockeea

 Subscribers: rwbarton, thomie, crockeea

 Differential Revision: https://phabricator.haskell.org/D3310
 }}}

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


More information about the ghc-tickets mailing list