#6091: Fixity in :info for backticks operators
------------------------------+---------------------------------------------
 Reporter:  guest             |          Owner:                  
     Type:  bug               |         Status:  new             
 Priority:  normal            |      Component:  GHCi            
  Version:  7.4.1             |       Keywords:  fixity          
       Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
  Failure:  None/Unknown      |       Testcase:                  
Blockedby:                    |       Blocking:                  
  Related:                    |  
------------------------------+---------------------------------------------
 The standard way to define infixity for backtick operators is

 {{{
 infix 4 `elem`
 }}}

 which is accepted by GHC and consistent with the Report. However, in GHCi,
 :i does not give the backticks:

 {{{
 Prelude> :i elem
 elem :: Eq a => a -> [a] -> Bool        -- Defined in `GHC.List'
 infix 4 elem
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/6091>
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