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 / f5-read.om
| 1 | note SPDX-License-Identifier: Apache-2.0 |
| 2 | note contract 5 fresh, line 127: passing the fresh array to read is error 27. |
| 3 | om2 |
| 4 | fn f s edit uchar 8 fresh to ulong |
| 5 | r = read 0 s 0 8 |
| 6 | ret 0 |
| 7 | end |
| 8 | fn main to int |
| 9 | a = new uchar 8 0 |
| 10 | putd f a |
| 11 | ret 0 |
| 12 | end |