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 / omc / om2 / s4 / x-abs-private.om
| 1 | note S4 with S3 abstract types: with exports only the exports are entries; a private last function |
| 2 | note may return an abstract type (accepted). |
| 3 | om2 |
| 4 | abstract dup32 ulong |
| 5 | fn dup32mk x uint to dup32 |
| 6 | ret seal dup32 or shl ulong x 32 ulong x |
| 7 | end |
| 8 | export fn e x uint to ulong |
| 9 | ret open dup32mk x |
| 10 | end |