Re: reading hex literals

"Sigbjorn Finne" <[email protected]>
Newsgroups gmane.comp.lang.haskell.hugs.bugs
Message-ID <001e01c2f4c9$9a2f2520$6501a8c0@snapdragon>
Hugs is complying with the Report here.

--sigbjorn

Iavor S. Diatchki <[email protected]> wrote:
> hi,
> i am not sure that this is a bug (i.e. i have not checked the report)
> but it works in GHC:
> 
> in Hugs:
> Prelude> read "0x20" :: Int
> Program error: Prelude.read: no parse
> 
> in GHC:
> Prelude> read "0x20" :: Int
> 32
> 
> bye
> iavor
> 
> _______________________________________________
> Hugs-Bugs mailing list
> [email protected]
> http://www.haskell.org/mailman/listinfo/hugs-bugs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.