[GHC] #15354: QuantifiedConstraints not fully described in manual

GHC ghc-devs at haskell.org
Tue Jul 10 23:34:36 UTC 2018


#15354: QuantifiedConstraints not fully described in manual
-------------------------------------+-------------------------------------
        Reporter:  goldfire          |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Documentation     |              Version:  8.5
      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 simonpj):

 Yes there's some overlap (with the existing productions) in the grammar.
 I considered having rules for all combinations of with and without foralls
 and context (for each of the two forms of head) leading to six productions
 instead of two, but I decided against.

 The grammar isn't trying to tell you which extension you are using, just
 what forms are legal.

 I don't feel strongly; it does not seem v important.

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


More information about the ghc-tickets mailing list