#636: deriving Show for infix constructors forgets backquotes
------------------------------------+---------------------------------------
Reporter: [EMAIL PROTECTED] | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.4.1
Severity: normal | Keywords:
Os: Unknown | Difficulty: Unknown
Architecture: Unknown |
------------------------------------+---------------------------------------
When compiling and running the following module:
>>>
module Main where
data Foo = Int `Bar` Int
deriving ( Show )
main = print (3 `Bar` 4)
<<<
The expected output is:
3 `Bar` 4
Or even just;
Bar 3 4
Instead, I get:
3 Bar 4
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/636>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs