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 / qualification / om2 / sec / s5s7 / v6-part-view-edit.om

15 lines · 301 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0
2note contract 6 line 176 with OMEGESE 9.4: a part of a view is a view; passing it to an edit
3note parameter is error 20.
4om2
5fn w e edit uchar * to void
6put e 0 1
7end
8fn g v view uchar * to void
9w part v 0 1
10end
11fn main to int
12a = new uchar 10 0
13g a
14ret 0
15end