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 / contracts / branchret.om

12 lines · 104 bytes Raw Blame History
1om2
2fn f x int to int
3ensures eq result 1
4if eq x 0
5ret 0
6else
7ret 1
8end
9end
10fn main to int
11ret f 0
12end