[GHC] #8581: Pattern synonym used in an expression context could have different constraints to pattern used in a pattern context

GHC ghc-devs at haskell.org
Wed Jun 20 12:31:26 UTC 2018


#8581: Pattern synonym used in an expression context could have different
constraints to pattern used in a pattern context
-------------------------------------+-------------------------------------
        Reporter:  cactus            |                Owner:  (none)
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:
      Resolution:                    |             Keywords:
                                     |  PatternSynonyms
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by AntC):

 [https://github.com/ghc/ghc/pull/150 patch incoming].

 See comment on it; and apologies for my incompetence with git: I couldn't
 figure out how to avoid resending the patch for Trac #15146 doco (also for
 Users Guide/glasgow_exts, but section 10.16) that I sent last month. I'm
 not changing any of that.

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


More information about the ghc-tickets mailing list