[GHC] #10651: Type checking issue with existential quantification, rank-n types and constraint kinds

GHC ghc-devs at haskell.org
Fri Jul 17 23:45:15 UTC 2015


#10651: Type checking issue with existential quantification, rank-n types and
constraint kinds
-------------------------------------+-------------------------------------
        Reporter:  Roboguy           |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Compiler (Type    |                 Version:  7.10.1
  checker)                           |                Keywords:
      Resolution:                    |            Architecture:
Operating System:  Unknown/Multiple  |  Unknown/Multiple
 Type of failure:  GHC rejects       |               Test Case:
  valid program                      |                Blocking:
      Blocked By:                    |  Differential Revisions:
 Related Tickets:                    |
-------------------------------------+-------------------------------------

Comment (by mniip):

 > I believe that this is accepted and works as I had intended on 7.8.3
 (with the correct definition as well) after talking to some people on IRC,
 but I haven't personally tested it

 It only works with `undefined` in 7.8.3. The proper implementation fails.

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


More information about the ghc-tickets mailing list