[GHC] #1930: infix type constructors are printed incorrectly by GHC

GHC trac at galois.com
Mon Jul 28 17:21:57 EDT 2008


#1930: infix type constructors are printed incorrectly by GHC
----------------------+-----------------------------------------------------
 Reporter:  igloo     |          Owner:         
     Type:  bug       |         Status:  new    
 Priority:  normal    |      Milestone:  _|_    
Component:  Compiler  |        Version:  6.8.1  
 Severity:  normal    |     Resolution:         
 Keywords:            |     Difficulty:  Unknown
 Testcase:            |   Architecture:  Unknown
       Os:  Unknown   |  
----------------------+-----------------------------------------------------
Comment (by nfrisby):

 Moreover, infix constructors - even those that are not operators - are
 also incorrectly printed.

 {{{
 data Report = AsExpected Outcome | Outcome `InsteadOf` Outcome
 }}}

 Note how GHC 6.8.2 prints the !InsteadOf operator without the backticks:

 {{{
 *Correctness> :i Report
 data Report = AsExpected Outcome | Outcome InsteadOf Outcome
         -- Defined at Correctness.hs:23:5-10
 }}}

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


More information about the Glasgow-haskell-bugs mailing list