#4084: minor External Core prettyprinter bug
---------------------------------+------------------------------------------
    Reporter:  tim               |       Owner:               
        Type:  bug               |      Status:  new          
    Priority:  normal            |   Component:  External Core
     Version:  6.12.2            |    Keywords:               
          Os:  Unknown/Multiple  |    Testcase:               
Architecture:  Unknown/Multiple  |     Failure:  Other        
---------------------------------+------------------------------------------
 The ext-core pretty printer was printing out rational literals like:

 {{{ ((-1)/5) }}}

 which isn't valid External Core. The correct way to print a negative
 rational is:

 {{{ (-1/5) }}}

 I've attached a patch. I would normally commit this myself, but my GHC
 build tree isn't up to date.

 Thanks!

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