[GHC] #10928: Refine pattern synonym signatures

GHC ghc-devs at haskell.org
Wed Oct 28 10:33:48 UTC 2015


#10928: Refine pattern synonym signatures
-------------------------------------+-------------------------------------
        Reporter:  mpickering        |                Owner:
            Type:  bug               |               Status:  new
        Priority:  highest           |            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):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Simon Peyton Jones <simonpj@…>):

 In [changeset:"04b0a73a2a418e1ca9c282ab3f2b4fe216911fdd/ghc" 04b0a73/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="04b0a73a2a418e1ca9c282ab3f2b4fe216911fdd"
 Pattern synonyms: swap provided/required

 This patch swaps the order of provided and required constraints in
 a pattern signature, so it now goes

       pattern P :: req => prov => t1 -> ... tn -> res_ty

 See the long discussion in Trac #10928.

 I think I have found all the places, but I could have missed something
 particularly in comments.

 There is a Haddock changes; so a submodule update.
 }}}

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


More information about the ghc-tickets mailing list