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 / inline.om

11 lines · 136 bytes Raw Blame History
1om2
2fn f x int to int inline
3requires gt x 0
4ensures eq result add x 1
5ret add x 1
6end
7fn main to int
8x = int 1
9x = f x
10ret sub x 2
11end