interplane.Get Omega
Read in your language

sovereign-intelligence

Front door to Drake Stapleton's sovereign stack.

Brought by drakestapleton

branch main Branches Tags History

sovereign-intelligence / tests / omc / examples / count_err30_contract.om

11 lines · 236 bytes Raw Blame History
1note count_err30_contract: a contract clause takes integer words on parameters only; count is error 30
2om2
3fn f a view uchar * n ulong to ulong
4requires eq count a 0 n 10 0
5ret n
6end
7fn main to int
8b = new uchar 4 0
9r = f b 2
10ret 0
11end