[GHC] #10928: Refine pattern synonym signatures

GHC ghc-devs at haskell.org
Tue Oct 6 10:44:35 UTC 2015


#10928: Refine pattern synonym signatures
-------------------------------------+-------------------------------------
        Reporter:  mpickering        |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.0.1
       Component:  Compiler          |              Version:  7.10.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Other             |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
-------------------------------------+-------------------------------------

Comment (by simonpj):

 * I do agree about switching the order of provided and required
 constraints.  Let's just do that for GHC 8.0.  This isn't yet a widely-
 used feature, so lets' fix it asap.

 * We should definitely complain if the existentials are used by required
 constraints.  That's a bug to fix.

 * I'm much less certain about Richard's proposed syntax.  Not dead set
 against but we could get on with the first two while debating the third.

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


More information about the ghc-tickets mailing list