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 / tests / struct / t6.om

9 lines · 160 bytes Raw Blame History
1struct Acc sum long v long 4 end
2fn main to long
3s = new Acc 3 3
4for i long 4
5put s v i add get s v i i
6put s sum add get s sum get s v i
7end
8ret get s sum
9end