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 / protocol / omnet / om / quantity / fixtures / mixed-slice.om

7 lines · 198 bytes Raw Blame History
1note A previously formed slice is not a quantity operand.
2fn main to int
3out = new qty ulong 0 ulong 8
4a = new qslic ulong 1 ulong 0 ulong 0 ulong 1
5b = new qty ulong 1 ulong 8
6ret qadd out a b
7end