#1579: instance Read Integer contradicts Haskell98
-------------------------------+--------------------------------------------
    Reporter:  Isaac Dupree    |        Owner:         
        Type:  bug             |       Status:  new    
    Priority:  normal          |    Milestone:         
   Component:  libraries/base  |      Version:  6.6.1  
    Severity:  normal          |   Resolution:         
    Keywords:                  |   Difficulty:  Unknown
          Os:  Unknown         |     Testcase:         
Architecture:  Unknown         |  
-------------------------------+--------------------------------------------
Comment (by Isaac Dupree):

 (I initially discovered this while QuickCheck-ing an Integer replacement
 that defines `instance Read MyInteger where readsPrec _ = readSigned
 readDec`, against GHC's built-in Integer, and got an inconsistent result.)

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