Sha256: 7af986481a1d2fc57b29f51af1621f69f85a4c1ffda092de641d01057797bc30

Contents?: true

Size: 160 Bytes

Versions: 68

Compression:

Stored size: 160 Bytes

Contents

type dna = [ `A | `C | `G | `T ]
type rna = [ `A | `C | `G | `U ]

let to_rna = List.map (function
    | `A -> `U
    | `C -> `G
    | `G -> `C
    | `T -> `A)

Version data entries

68 entries across 68 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/ocaml/exercises/rna-transcription/example.ml
trackler-2.2.1.179 tracks/ocaml/exercises/rna-transcription/example.ml
trackler-2.2.1.178 tracks/ocaml/exercises/rna-transcription/example.ml
trackler-2.2.1.177 tracks/ocaml/exercises/rna-transcription/example.ml
trackler-2.2.1.176 tracks/ocaml/exercises/rna-transcription/example.ml
trackler-2.2.1.175 tracks/ocaml/exercises/rna-transcription/example.ml
trackler-2.2.1.174 tracks/ocaml/exercises/rna-transcription/example.ml
trackler-2.2.1.173 tracks/ocaml/exercises/rna-transcription/example.ml
trackler-2.2.1.172 tracks/ocaml/exercises/rna-transcription/example.ml
trackler-2.2.1.171 tracks/ocaml/exercises/rna-transcription/example.ml
trackler-2.2.1.170 tracks/ocaml/exercises/rna-transcription/example.ml
trackler-2.2.1.169 tracks/ocaml/exercises/rna-transcription/example.ml
trackler-2.2.1.167 tracks/ocaml/exercises/rna-transcription/example.ml
trackler-2.2.1.166 tracks/ocaml/exercises/rna-transcription/example.ml
trackler-2.2.1.165 tracks/ocaml/exercises/rna-transcription/example.ml
trackler-2.2.1.164 tracks/ocaml/exercises/rna-transcription/example.ml
trackler-2.2.1.163 tracks/ocaml/exercises/rna-transcription/example.ml
trackler-2.2.1.162 tracks/ocaml/exercises/rna-transcription/example.ml
trackler-2.2.1.161 tracks/ocaml/exercises/rna-transcription/example.ml
trackler-2.2.1.160 tracks/ocaml/exercises/rna-transcription/example.ml