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 / p1-put.om
| 1 | note P1 mutant: a pure function writes state. |
| 2 | global g ulong 1 |
| 3 | note p10 pure |
| 4 | fn bump x ulong to ulong |
| 5 | put g 0 x |
| 6 | ret x |
| 7 | end |
| 8 | fn main to int |
| 9 | v = bump 1 |
| 10 | ret int v |
| 11 | end |