interplane.Get Omega
Read in your language

omega-harness

Agent skills for operating, encoding and communicating in Omega (.om) and the AIEN repositories

Brought by drakestapleton

branch main Branches Tags History

omega-harness / examples / contract_release.om

9 lines · 199 bytes Raw Blame History
1note contract_release: om2 release erases contracts; the false precondition no longer traps
2om2 release
3fn half x uint to uint
4requires eq rem x 2 0
5ret div x 2
6end
7fn main to int
8ret int half 7
9end