#2947: infix precedence of backtick functions defined in ghci is not reported by
:info
------------------------------+---------------------------------------------
 Reporter:  EyalLotem         |          Owner:                  
     Type:  bug               |         Status:  new             
 Priority:  normal            |      Milestone:                  
Component:  GHCi              |        Version:  6.10.1          
 Severity:  minor             |     Resolution:                  
 Keywords:                    |       Testcase:                  
       Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
------------------------------+---------------------------------------------
Comment (by EyalLotem):

 In fact, the bug is more severe, the infix declaration in ghci is not used
 at all:
 {{{
 Prelude> let infixr 0 `f` ; f = (*)
 let infixr 0 `f` ; f = (*)
 Prelude> 5 `f` 3 + 4
 19
 Prelude> :info `f`
 f :: Integer -> Integer -> Integer
         -- Defined at <interactive>:1:19
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2947#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to