reading hex literals

Iavor S. Diatchki diatchki@cse.ogi.edu
Sat, 22 Mar 2003 13:34:17 -0800


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