The sieve of Sundaram: Difference between revisions
m
→{{header|Wren}}: Minor tidy
(→{{header|Raku}}: make it faster) |
m (→{{header|Wren}}: Minor tidy) |
||
Line 1,701:
{{libheader|Wren-seq}}
I've worked here from the second (optimized) Python example in the Wikipedia article for SOS which allows an easy transition to an 'odds only' SOE for comparison.
<syntaxhighlight lang="
import "./seq" for Lst
var sos = Fn.new { |n|
|