reading hex literals

Sigbjorn Finne sof@galois.com
Thu, 27 Mar 2003 17:30:23 -0800


Hugs is complying with the Report here.

--sigbjorn

Iavor S. Diatchki <diatchki@cse.ogi.edu> 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
> Hugs-Bugs@haskell.org
> http://www.haskell.org/mailman/listinfo/hugs-bugs