interplane.Get Omega
Read in your language

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

branch main Branches Tags History

omega-mv / si / mcp / data / examples / om2_part.om

9 lines · 211 bytes Raw Blame History
1om2
2note part A o k passes elements o..o+k-1 to an unsized view or edit parameter (T *)
3text msg "0123456789"
4fn first v view uchar * to ulong
5ret ulong get v 0
6end
7fn main to int
8ret int first part msg 7 3
9end