Proposal: Improve Read Integer

Yitzchak Gale gale at sefer.org
Tue Nov 16 16:04:05 EST 2010


Ian Lynagh wrote:
> Proposal: Improve Read Integer
> http://hackage.haskell.org/trac/ghc/ticket/4500
> Currently, according to H98, H2010, GHC and hugs,
>    reads "1.2" :: [(Integer, String)]
> is
>    []
> whereas I would expect it to be
>    [(1,".2")]
> http://hackage.haskell.org/trac/ghc/attachment/ticket/4500/read-integer.dpatch

This is a good change. But for GHC the patch is not complete.
It needs to provide the old behavior in H98 and H2010 mode.

Thanks,
Yitz


More information about the Libraries mailing list