[GHC] #10056: Inconsistent precedence of ~

GHC ghc-devs at haskell.org
Tue Aug 4 15:13:37 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 RyanGlScott):

 Replying to [comment:14 dfeuer]:
 > I would think we'd want it to have even lower precedence than `->` to
 support easy use in contexts.

 Is that even possible at the moment? I thought that `(->)` had the lowest
 possible precedence:

 {{{#!hs
 $ inplace/bin/ghc-stage2 --interactive
 GHCi, version 7.11.20150727: http://www.haskell.org/ghc/  :? for help
 λ> :i (->)
 data (->) a b   -- Defined in ‘GHC.Prim’
 infixr 0 `(->)`
 }}}

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


More information about the ghc-tickets mailing list