[GHC] #10194: Shouldn't this require ImpredicativeTypes?

GHC ghc-devs at haskell.org
Wed Jun 17 19:35:17 UTC 2015


#10194: Shouldn't this require ImpredicativeTypes?
-------------------------------------+-------------------------------------
        Reporter:  kosmikus          |                   Owner:
            Type:  bug               |                  Status:  merge
        Priority:  normal            |               Milestone:  7.10.2
       Component:  Compiler (Type    |                 Version:  7.8.4
  checker)                           |                Keywords:
      Resolution:  fixed             |            Architecture:
Operating System:  Unknown/Multiple  |  Unknown/Multiple
 Type of failure:  GHC accepts       |               Test Case:
  invalid program                    |  typecheck/should_fail/T10194
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by adamgundry):

 Thanks! Indeed, those look like impredicative instantiations of `(.)` that
 should require `ImpredicativeTypes`. I think we should keep the patch, and
 flag up this issue in the release notes, although the error message makes
 it fairly obvious how to fix the problem. :-)

 Or should we be more concerned about maintaining support for existing
 programs, given that this is a bugfix release?

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


More information about the ghc-tickets mailing list