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 / v6-out.om
| 1 | note SPDX-License-Identifier: Apache-2.0 |
| 2 | note contract 6 lines 196-198 and erratum E1: a sized `out` parameter on an exported entry, written |
| 3 | note element by element: accepted (function mode). Behaviour is ABI-level (abi cases). |
| 4 | om2 |
| 5 | export fn rev s view uchar * r out uchar 4 to void |
| 6 | for i ulong 4 |
| 7 | put r i get s sub 3 i |
| 8 | end |
| 9 | end |