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 / tests / quantity / literal_wrong_expectation.om

12 lines · 115 bytes Raw Blame History
1fn main to int
2a = qty 1
3b = add a qty 1
4c = add qty 1 qty 1
5if ne b qty 1
6ret 1
7end
8if ne c b
9ret 2
10end
11ret 0
12end