[GHC] #12975: Suggested type signature for a pattern synonym causes program to fail to type check

GHC ghc-devs at haskell.org
Wed Dec 14 15:19:50 UTC 2016


#12975: Suggested type signature for a pattern synonym causes program to fail to
type check
-------------------------------------+-------------------------------------
        Reporter:  ocharles          |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler (Type    |              Version:  8.0.1
  checker)                           |             Keywords:
      Resolution:                    |  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 mpickering):

 The required one.


 `req => t` is the same as `req => () => t`. This is different from the
 first implementation, we changed it last release.

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


More information about the ghc-tickets mailing list