[GHC] #2766: Infix type operators are presented with incorrect syntax in ghci

GHC trac at galois.com
Tue Nov 11 05:39:56 EST 2008


#2766: Infix type operators are presented with incorrect syntax in ghci
---------------------------------+------------------------------------------
    Reporter:  EyalLotem         |       Owner:                  
        Type:  bug               |      Status:  new             
    Priority:  normal            |   Component:  Compiler        
     Version:  6.8.3             |    Severity:  normal          
    Keywords:                    |    Testcase:                  
Architecture:  Unknown/Multiple  |          Os:  Unknown/Multiple
---------------------------------+------------------------------------------
 Prelude Control.Arrow> :t first :: Arrow (~>) => b~>c -> (b, d)~>(c, d)
 first :: Arrow (~>) => b~>c -> (b, d)~>(c, d) :: (Arrow ~>) => ~> b c ->
 ~> (b, d) (c, d)

 This is incorrect syntax, and causes other bugs too e.g:
 http://trac.haskell.org/haddock/ticket/64

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2766>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list