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_16.om

14 lines · 176 bytes Raw Blame History
1seen = new uchar 256 0
2n = long 0
3for i ulong len string
4c = get string i
5if and ge c 65 le c 90
6c = add c 32
7end
8if eq get seen c 0
9put seen c 1
10n = add n 1
11end
12end
13ret n
14end