[GHC] #10056: Inconsistent precedence of ~

GHC ghc-devs at haskell.org
Fri Aug 5 18:40:50 UTC 2016


#10056: Inconsistent precedence of ~
-------------------------------------+-------------------------------------
        Reporter:  crockeea          |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.8.4
  (Parser)                           |
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  GHC rejects       |  Unknown/Multiple
  valid program                      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #10059            |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by RyanGlScott):

 Edward Kmett notes [https://mail.haskell.org/pipermail/ghc-
 devs/2016-August/012537.html on the ghc-devs mailing list] that making
 `-XTypeOperators` allow the use of `(~)` is not a good idea, since it
 means that other compilers who wish to implement `-XTypeOperators` must
 now implement all of the ideas in the OutsideIn(X) paper, which is a big
 ask. It might be better to introduce a new pragma (`-XTypeEqualities`?)
 for this purpose.

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


More information about the ghc-tickets mailing list