reading hex literals

"Iavor S. Diatchki" <[email protected]>
Newsgroups gmane.comp.lang.haskell.hugs.bugs
Message-ID <[email protected]>
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
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.