Sha256: fa6c4f25bec88c48ca8353ee1eaf40b8ffcc400c32bc8e70f459695d03805664

Contents?: true

Size: 202 Bytes

Versions: 131

Compression:

Stored size: 202 Bytes

Contents

#!/usr/bin/env apl --script

∇rna←to_rna dna;dna_bases;rna_bases
  dna_bases←'CGTA'
  rna_bases←'GCAU'
  '1÷0' ⎕EA 'rna←rna_bases[dna_bases⍳dna]' ⍝ throw a domain error if not found
∇

Version data entries

131 entries across 131 versions & 1 rubygems

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