precedence bug with derived instances
Dean Herington
heringto at cs.unc.edu
Thu Oct 17 13:23:48 EDT 2002
In GHC 5.04.1, derived instances of Show mishandle precedence:
Prelude> putStrLn (showsPrec 10 (Just 0) "")
Just 0
Prelude>
The result should be:
(Just 0)
More information about the Glasgow-haskell-bugs
mailing list