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 / rosetta / exercises / nucleotide-count / nucleotide-count.om

10 lines · 514 bytes Raw Blame History
1note Exercism-style exercise "nucleotide-count": https://exercism.org/tracks/python/exercises/nucleotide-count
2note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
3note nucleotidecounts writes how many A, C, G and T the DNA strand holds into o[0] .. o[3] and is
4note true; it is false when the strand holds any other byte.
5note Check it with: sh exercise.sh exercises/nucleotide-count
6om2
7fn nucleotidecounts strand view uchar * o edit ulong * to bool
8note replace this line with your solution
9trap 13
10end