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 / profile / cases / c1-mode.om
| 1 | note C1 mutant: a contract with no om2 mode line. |
| 2 | fn half x ulong to ulong |
| 3 | requires le x 100 |
| 4 | ret div x 2 |
| 5 | end |
| 6 | fn main to int |
| 7 | v = half 10 |
| 8 | ret int v |
| 9 | end |