[GHC] #7880: Require "forall" in definitions of polymorphic types

GHC cvs-ghc at haskell.org
Fri May 3 09:22:52 CEST 2013


#7880: Require "forall" in definitions of polymorphic types
---------------------------------+------------------------------------------
    Reporter:  monoidal          |       Owner:                             
        Type:  bug               |      Status:  new                        
    Priority:  normal            |   Milestone:                             
   Component:  Compiler          |     Version:  7.6.3                      
    Keywords:                    |          Os:  Unknown/Multiple           
Architecture:  Unknown/Multiple  |     Failure:  GHC accepts invalid program
  Difficulty:  Unknown           |    Testcase:                             
   Blockedby:                    |    Blocking:                             
     Related:                    |  
---------------------------------+------------------------------------------

Comment(by simonpj):

 That is true but seems horribly ad hoc.  It would be simpler and more
 uniform just to say that "=>" doesn't trigger an implicit quantification
 point.

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



More information about the ghc-tickets mailing list