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
omega-mv / seed / omc / tests / struct / t4.om
| 1 | struct V a ulong b ulong end |
| 2 | fn total v view V to ulong |
| 3 | ret add get v a get v b |
| 4 | end |
| 5 | fn main to ulong |
| 6 | s = new V 10 7 |
| 7 | ret total s |
| 8 | end |