[GHC] #11376: Inconsistent specified type variables among functions and datatypes/classes when using -XTypeApplications

GHC ghc-devs at haskell.org
Mon Apr 4 18:09:13 UTC 2016


#11376: Inconsistent specified type variables among functions and datatypes/classes
when using -XTypeApplications
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:  goldfire
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.0.1
       Component:  Compiler (Type    |              Version:  8.1
  checker)                           |             Keywords:
      Resolution:                    |  TypeApplications
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Other             |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 > And, personally, when I want the type of a function, I just say :type,
 not :info, even when that expression is just a bare function.

 If that is what you want, let's not over complicate this.  We could easily
 say that `:type` behaves like `:info` when its argument is jut a variable.
 That is easy to specify, easy to implement, and does what you say you
 want.

 I'm really not happy with the old behaviour, so reluctant to revert.

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


More information about the ghc-tickets mailing list