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-fm-e2.om

14 lines · 315 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0
2note erratum E2: in function mode a sized array may be passed to an unsized parameter of an
3note internal function: accepted.
4om2
5fn inner v view ulong * to ulong
6x = ulong 0
7for i ulong len v
8x = add x get v i
9end
10ret x
11end
12fn outer a view ulong 4 to ulong
13ret inner a
14end