[GHC] #15235: GHCi's claim of infixr 0 (->) is a lie

GHC ghc-devs at haskell.org
Tue Jun 12 03:48:29 UTC 2018


#15235: GHCi's claim of infixr 0 (->) is a lie
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Compiler          |              Version:  8.4.3
      Resolution:                    |             Keywords:
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 goldfire):

 I've been bitten by this before.

 I'm worried about breakage with option (2), so I favor option (1), even if
 negative fixities are not available to users.

 While we're in town, it should be `infixr (-1) ->`, without
 parentheses/backticks around the arrow.

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


More information about the ghc-tickets mailing list