in reply to Re: Hamming Sequences and Lazy Lists
in thread Hamming Sequences and Lazy Lists
The number 1 = 2**0 * 3**0 * 5**0, so it is a legitimate part of the series, not just a seed to be stripped off. It is part of the answer produced by the Haskell genHam above. Otherwise, your generator looks great and the output checks with the Haskell one.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Hamming Sequences and Lazy Lists
by Roy Johnson (Monsignor) on Mar 17, 2005 at 18:40 UTC |
In Section
Seekers of Perl Wisdom