[GHC] #16311: Suggest -XExistentialQuantification for 'forall' in data declarations

GHC ghc-devs at haskell.org
Wed Feb 13 22:03:34 UTC 2019


#16311: Suggest -XExistentialQuantification for 'forall' in data declarations
-------------------------------------+-------------------------------------
        Reporter:  int-index         |                Owner:  (none)
            Type:  task              |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.6.3
  (Parser)                           |
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by int-index):

 > Do we need both? Or is there a way we could consolidate the two somehow?
 Would the answer change if we made forall permanently a keyword in types?

 No, we don't need both, and the `forall` proposal makes the matters
 trivial. See https://gitlab.haskell.org/ghc/ghc/merge_requests/363

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


More information about the ghc-tickets mailing list