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 / apps / aienos-site / om / omega-reference / vendor / examples / mistake_value_stmt.om

8 lines · 150 bytes Raw Blame History
1note mistake_value_stmt: a function with a result cannot be a statement; bind its result. Fix: v = f
2fn f to int
3ret 1
4end
5fn main to int
6f
7ret 0
8end