[GHC] #11010: Untouchable type, pattern synonyms

GHC ghc-devs at haskell.org
Wed Oct 28 10:36:14 UTC 2015


#11010: Untouchable type, pattern synonyms
---------------------------------+------------------------------
        Reporter:  Iceland_jack  |                Owner:
            Type:  bug           |               Status:  new
        Priority:  normal        |            Milestone:
       Component:  Compiler      |              Version:  7.10.2
      Resolution:                |             Keywords:
Operating System:  Linux         |         Architecture:  x86
 Type of failure:  None/Unknown  |            Test Case:
      Blocked By:                |             Blocking:
 Related Tickets:                |  Differential Rev(s):
       Wiki Page:                |
---------------------------------+------------------------------

Comment (by 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/11010#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list