
24 Oct
2007
24 Oct
'07
8:23 p.m.
Prelude> read "0o232" :: Int 154 Prelude> read "0xD29A" :: Int 53914 Prelude> Maurício wrote:
Hi,
Are there binary constants in Haskell, as we have, for instance, 0o232 for octal and 0xD29A for hexadecimal?
Thanks, Maurício
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe