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 / p-bad-viewedit.om

13 lines · 213 bytes Raw Blame History
1note S4: a part of a view is a view; to an edit parameter it is error 20.
2om2
3fn w e edit uchar * to void
4put e 0 1
5end
6fn g v view uchar * to void
7w part v 0 1
8end
9fn main to int
10a = new uchar 10 0
11g a
12ret 0
13end