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 / si / harness / examples / mistake_om2_word_seal.om

6 lines · 264 bytes Raw Blame History
1om2
2note mistake_om2_word_seal: seal is reserved in OM-2 mode, so it cannot name a value after the om2 line (error 16). In a plain unit it is an ordinary name, as fresh is in om2_word_plain.om. Fix: pick another name.
3fn main to int
4seal = uint 3
5ret int seal
6end