[GHC] #12187: Clarify the scoping of existentials for pattern synonym signatures

GHC ghc-devs at haskell.org
Fri Jun 24 13:59:30 UTC 2016


#12187: Clarify the scoping of existentials for pattern synonym signatures
-------------------------------------+-------------------------------------
        Reporter:  mpickering        |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:
                                     |  PatternSynonyms
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #12108            |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 There should be no existentials in the return type.  So that type
 signature would be rejected with that message.

 I'll edit comment:3 to clarify that

 Simon

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


More information about the ghc-tickets mailing list