#4500: Improve Read Integer
---------------------------------+------------------------------------------
Reporter: igloo | Owner:
Type: proposal | Status: new
Priority: normal | Milestone: Not GHC
Component: libraries/base | Version: 7.0.1
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
Currently, according to H98, H2010, GHC and hugs,
{{{
reads "1.2" :: [(Integer, String)]
}}}
is
{{{
[]
}}}
whereas I would expect it to be
{{{
[(1,".2")]
}}}
The attached patch fixes it.
Suggested deadline: 1 Dec 2010.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4500>
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