✓
Passing This code compiles and runs correctly.
Code
import std/io
import std/table
// Pin #2: `keep gcd(x,6)==1` -> the mod-6 wheel [1, 5], verified by its sum = 6.
from(wheel6) { x over 0..6 | keep gcd(x, 6) == 1 }
sum(total) { wheel6 }
std/io:print.ln("{{ total:d }}")
Actual
6
Expected output
6
Flows
flow ~from click a branch to expand · @labels scroll to their anchor
from (wheel6, source: x over 0..6 | keep gcd(x, 6) == 1)
flow ~sum click a branch to expand · @labels scroll to their anchor
sum (total, source: wheel6)
flow ~print.ln click a branch to expand · @labels scroll to their anchor
print.ln (expr: "{{ total:d }}")
Test Configuration
MUST_RUN