[GHC] #14463: Pattern synonym for appliation

GHC ghc-devs at haskell.org
Tue Nov 14 15:47:16 UTC 2017


#14463: Pattern synonym for appliation
-------------------------------------+-------------------------------------
        Reporter:  Iceland_jack      |                Owner:  (none)
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.2.1
      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 RyanGlScott):

 > Does this make sense

 It certainly doesn't in my mind. You'd have to allow this sort of pattern:

 {{{#!hs
 foo (f x) = ...
 }}}

 To which I can't ascribe any sort of meaningful semantics at the value
 level.

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


More information about the ghc-tickets mailing list