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 / seed / omc / om2 / s4 / o-bad-view.om

13 lines · 211 bytes Raw Blame History
1note S4: an out parameter takes a writable array; a view passed to it is error 20.
2om2
3fn f r out uchar 4 to void
4put r 0 1
5end
6fn g v view uchar 4 to void
7f v
8end
9fn main to int
10a = new uchar 4 0
11g a
12ret 0
13end