On 08/24/2011 11:55 PM, bearophile wrote:
Timon Gehr:
If anyone is interested:
http://pastebin.com/2rEdx0RD
I suggest you to usually compile your D code with -w, I see some missing overrides. At
line 40 it gives me a "Warning: statement is not reachable".
Are you able to use it to translate the Haskell version of this task?
http://rosettacode.org/wiki/Hamming_numbers#Haskell
Bye,
bearophile
Done: http://pastebin.com/Vx4hXvaT
Theoretically it could use std.bigint, but I have still not found out
how to convert these to string without pain.