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 / mcp / data / examples / om2_out.om

12 lines · 231 bytes Raw Blame History
1om2
2note an out parameter is written by the unit; inside the unit it is an edit of T N
3fn fill r out ulong 3 v ulong to ulong
4for i ulong 3
5put r i add v i
6end
7ret get r 2
8end
9fn main to int
10a = new ulong 3 0
11ret int fill a 10
12end