Sha256: 24ae42419c2e76135911bd292d2fd42990d344ef4589f8fea38b6d39094a3b3f

Contents?: true

Size: 217 Bytes

Versions: 396

Compression:

Stored size: 217 Bytes

Contents

(ns rna-transcription)

(def dna->rna {\G \C
               \C \G
               \A \U
               \T \A})

(defn- translate [c]
  {:post [%]}
  (dna->rna c))

(defn to-rna [dna]
  (apply str (map translate dna)))

Version data entries

396 entries across 396 versions & 1 rubygems

Version Path
trackler-2.2.1.98 tracks/clojure/exercises/rna-transcription/src/example.clj
trackler-2.2.1.97 tracks/clojure/exercises/rna-transcription/src/example.clj
trackler-2.2.1.96 tracks/clojure/exercises/rna-transcription/src/example.clj
trackler-2.2.1.95 tracks/clojure/exercises/rna-transcription/src/example.clj
trackler-2.2.1.94 tracks/clojure/exercises/rna-transcription/src/example.clj
trackler-2.2.1.93 tracks/clojure/exercises/rna-transcription/src/example.clj
trackler-2.2.1.92 tracks/clojure/exercises/rna-transcription/src/example.clj
trackler-2.2.1.91 tracks/clojure/exercises/rna-transcription/src/example.clj
trackler-2.2.1.90 tracks/clojure/exercises/rna-transcription/src/example.clj
trackler-2.2.1.89 tracks/clojure/exercises/rna-transcription/src/example.clj
trackler-2.2.1.88 tracks/clojure/exercises/rna-transcription/src/example.clj
trackler-2.2.1.87 tracks/clojure/exercises/rna-transcription/src/example.clj
trackler-2.2.1.86 tracks/clojure/exercises/rna-transcription/src/example.clj
trackler-2.2.1.85 tracks/clojure/exercises/rna-transcription/src/example.clj
trackler-2.2.1.84 tracks/clojure/exercises/rna-transcription/src/example.clj
trackler-2.2.1.83 tracks/clojure/exercises/rna-transcription/src/example.clj
trackler-2.2.1.82 tracks/clojure/exercises/rna-transcription/src/example.clj
trackler-2.2.1.81 tracks/clojure/exercises/rna-transcription/src/example.clj
trackler-2.2.1.80 tracks/clojure/exercises/rna-transcription/src/example.clj
trackler-2.2.1.79 tracks/clojure/exercises/rna-transcription/src/example.clj