[GHC] #10928: Refine pattern synonym signatures

GHC ghc-devs at haskell.org
Tue Oct 6 18:59:46 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 rodlogic):

 Sorry to inject myself here, but what about:
 {{{
 pattern P :: (Required b) => b -> T a => (Provided a)
 }}}

 I.e. required constraints come before and provided after.

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


More information about the ghc-tickets mailing list