Hamming numbers: Difference between revisions
m
→{{header|Wren}}: Minor tidy
m (→{{header|Wren}}: Minor tidy) |
|||
Line 12,742:
===Simple but slow===
{{libheader|Wren-big}}
<syntaxhighlight lang="
var primes = [2, 3, 5].map { |p| BigInt.new(p) }.toList
Line 12,795:
Not as fast as the statically typed languages but fast enough for me :)
<syntaxhighlight lang="
import "./long" for ULong
import "./big" for BigInt
|