Vampire number: Difference between revisions
m
→{{header|Perl 6}}: cut out some unnecessary calculations
Thundergnat (talk | contribs) m (→{{header|Perl 6}}: simplify) |
Thundergnat (talk | contribs) m (→{{header|Perl 6}}: cut out some unnecessary calculations) |
||
Line 2,431:
}
constant @vampires = flat (
(10**$s .. 10**$e).hyper.map: -> $n {
next unless my @fangs = is_vampire($n);
|