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 / s3s4 / unroll-write-i-rolled.om

14 lines · 613 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0
2note Control for unroll-write-i.om: contract section 4 line 89 restricts only unrolled bodies, and an
3note OM-2 unit keeps the OM-1 meaning of everything not stated (lines 5-6). OM-1 accepts a write to the
4note counter of a rolled for (observed under 734f0a39, twin unroll-write-i-rolled-om1.om); the counter
5note is then advanced by the for's increment (OMEGESE 9.8 continue: "the increment of a for, so the
6note counter still advances"). Expected stdout 1 and 3: oracle/s3s4/exp/unroll-write-i-rolled.out.
7om2
8fn main to int
9for i ulong 4
10i = add i 1
11pu i
12end
13ret 0
14end