interplane.Get Omega
Read in your language

omega-mv

Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.

Brought by drakestapleton

branch main Branches Tags History

omega-mv / si / rosetta / bench / solutions / HumanEval_30.om

10 lines · 93 bytes Raw Blame History
1n = long 0
2for i ulong len l
3v = get l i
4if gt v 0
5put res n v
6n = add n 1
7end
8end
9ret n
10end