[GHC] #10932: Pattern synonyms and view pattern arguments

GHC ghc-devs at haskell.org
Mon Oct 5 10:03:56 UTC 2015


#10932: Pattern synonyms and view pattern arguments
-------------------------------------+-------------------------------------
        Reporter:  nomeata           |                Owner:
            Type:  feature request   |               Status:  closed
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.10.2
      Resolution:  duplicate         |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
-------------------------------------+-------------------------------------
Changes (by rwbarton):

 * status:  new => closed
 * resolution:   => duplicate


Comment:

 Duplicate of #9671. As discussed there, really needs some better syntax to
 distinguish the roles of `env` (argument to the pattern) and `x` (bound by
 the pattern) in `Pat env x`. (Presumably `env` could be any name in scope,
 not necessarily bound by the same equation.)

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


More information about the ghc-tickets mailing list