#2036: Show for Double and Float doesn't use parenthesis for negative zero.
-------------------------+--------------------------------------------------
Reporter: clanehin | Owner:
Type: bug | Status: new
Priority: normal | Component: libraries/haskell98
Version: 6.6.1 | Severity: minor
Keywords: | Testcase:
Architecture: Multiple | Os: Multiple
-------------------------+--------------------------------------------------
For any other negative number, show would use parenthesis. This is
visually disconcerting, and prevents the expression from being pasted back
into ghci.
{{{
Prelude> Just (-0/1)
Just -0.0
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2036>
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