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_part_global.om

9 lines · 208 bytes Raw Blame History
1note mistake_om2_part_global: part of a global is refused like any global argument; slice a local array
2om2
3global g uchar 8
4fn f a view uchar * to ulong
5ret len a
6end
7fn main to int
8ret int f part g 0 2
9end