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 / profile / cases / p1-call.om

14 lines · 223 bytes Raw Blame History
1note P1 mutant: a pure function calls a function that is not pure.
2global g ulong 1
3fn side x ulong to ulong
4put g 0 x
5ret x
6end
7note p10 pure
8fn calc x ulong to ulong
9ret side x
10end
11fn main to int
12v = calc 1
13ret int v
14end