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

8 lines · 205 bytes Raw Blame History
1note mistake_param_length: a sized array parameter takes exactly that length; use OM-2 view T * for any length
2fn f a view uchar 4 to uchar
3ret get a 0
4end
5fn main to int
6b = new uchar 8 0
7ret int f b
8end