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 / profile / cases / e1-else.om

16 lines · 214 bytes Raw Blame History
1note E1 mutant: the result is read only in the sibling else branch, not on the continuation.
2fn get1 to ulong
3ret 1
4end
5fn main to int
6x = get1
7if gt x 1
8r = get1
9else
10r = ulong 0
11if ne r 0
12ret 2
13end
14end
15ret 0
16end