return sub { my $next = min keys %pool; @pool{ map { $next * $_ } @factor } = (); delete $pool{$next}; return $next; };
In reply to Re^2: Hamming Sequences and Lazy Lists
by Roy Johnson
in thread Hamming Sequences and Lazy Lists
by tall_man
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |