interplane.Get Omega
Read in your language

omega-bridge

Omega-first language interoperability: checked conversion backends and native language bindings

Brought by drakestapleton

branch main Branches Tags History

omega-bridge / tests / native / spin.om

8 lines · 159 bytes Raw Blame History
1note sum of 0 .. n-1 (n at most 1000000): a loop long enough for the reentry test
2fn spin n ulong to ulong
3s = ulong 0
4for i ulong n
5s = add s i
6end
7ret s
8end