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 / qualification / om2 / sec / s5s7 / m6-export2.om
| 1 | note SPDX-License-Identifier: Apache-2.0 |
| 2 | note contract 6 lines 204-206: two `export fn` entries and a private helper: accepted (function mode). |
| 3 | note Symbol visibility (helper private, one omega2_ symbol per export) is checked at the ABI level. |
| 4 | om2 |
| 5 | fn helper a ulong to ulong |
| 6 | ret add a 1 |
| 7 | end |
| 8 | export fn inc a ulong to ulong |
| 9 | ret helper a |
| 10 | end |
| 11 | export fn dbl a ulong to ulong |
| 12 | ret mul a 2 |
| 13 | end |