[GHC] #11351: Scoped type variables in pattern synonyms

GHC ghc-devs at haskell.org
Wed Jan 6 21:12:10 UTC 2016


#11351: Scoped type variables in pattern synonyms
-------------------------------------+-------------------------------------
        Reporter:  Iceland_jack      |                Owner:
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler (Type    |              Version:  8.1
  checker)                           |
      Resolution:                    |             Keywords:
Operating System:  Linux             |         Architecture:
 Type of failure:  GHC rejects       |  Unknown/Multiple
  valid program                      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 You are right: scoped type variables from the pattern signature should
 scope, and they simply don't right now.  That's a bug; or at least a
 serious inconsistency.

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


More information about the ghc-tickets mailing list