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 / seed / omc / tests / pools / g5ctl.om

11 lines · 220 bytes Raw Blame History
1om2 diag
2note gate-pools 5 control: len of a sized global folds, so the same clause is erased rule=constant-true.
3global G ulong 8
4fn f k ulong to ulong
5requires eq len G 8
6ret k
7end
8fn main to int
9x = f 1
10ret int x
11end