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 / tools / exp445 / arms / examples / hash_step / program.osc
| 1 | fn hash_step(h: u32, c: u8) -> u32 { |
| 2 | return h * 31 + (c as u32); |
| 3 | } |