[GHC] #9793: Some as-patterns could be accepted in pattern synonyms

GHC ghc-devs at haskell.org
Wed Dec 23 07:45:55 UTC 2015


#9793: Some as-patterns could be accepted in pattern synonyms
-------------------------------------+-------------------------------------
        Reporter:  cactus            |                Owner:  cactus
            Type:  feature request   |               Status:  patch
        Priority:  normal            |            Milestone:  8.0.1
       Component:  Compiler (Type    |              Version:  7.8.3
  checker)                           |             Keywords:
      Resolution:                    |  PatternSynonyms
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D1666
       Wiki Page:                    |
-------------------------------------+-------------------------------------

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

 In [changeset:"48e06346805ab882a54088e01e5224111182f5df/ghc" 48e0634/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="48e06346805ab882a54088e01e5224111182f5df"
 Revert "Allow as-patterns in pattern synonym declarations."

 I'm reverting this until we agree a design.
 See comment:5 in Trac #9793.

 Incidentally the reference to Trac #9739 in the reverted
 patch is bogus; it shold have said #9793.

 This reverts commit 44640af7afa1a01ff2e2357f7c1436b4804866fc.
 }}}

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


More information about the ghc-tickets mailing list