Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/blob/main/si/harness/examples/contract_requires.om # 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 Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-mv / si / harness / examples / contract_requires.om` 12 lines ยท 241 bytes Raw Blame History 1 note contract_requires: a false precondition traps 9, exit 109, before the body runs 2 om2 3 text before "before\n" 4 fn half x uint to uint 5 requires eq rem x 2 0 6 ret div x 2 7 end 8 fn main to int 9 k = write 1 before 0 len before 10 h = half 7 11 ret 0 12 end