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 / apps / aienos-site / om / omega-reference / vendor / examples / err10_duplicate.om
| 1 | note err10_duplicate: a new name may not repeat a visible name, a function or a struct |
| 2 | fn f x int x int to int |
| 3 | ret x |
| 4 | end |
| 5 | fn main to int |
| 6 | ret f 1 2 |
| 7 | end |