RosettaCodeData/Task/Literals-Integer/Haskell/literals-integer.hs

5 lines
55 B
Haskell

Prelude> 727 == 0o1327
True
Prelude> 727 == 0x2d7
True