[GHC] #10056: Inconsistent precedence of ~

GHC ghc-devs at haskell.org
Tue Aug 4 15:18:58 UTC 2015


#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 Revisions:
-------------------------------------+-------------------------------------

Comment (by rwbarton):

 I would expect `~` to have lower precedence than everything except `=>`.
 This isn't a totally solid conviction, I could imagine changing my mind if
 I saw a suitable example, but I can't think of what such an example would
 look like.

 By the way, why can't ghci tell me about `:i (=>)`? :)

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


More information about the ghc-tickets mailing list