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.58 tracks/gnu-apl/exercises/rna-transcription/rna-transcription-example.apl
trackler-2.2.1.57 tracks/gnu-apl/exercises/rna-transcription/rna-transcription-example.apl
trackler-2.2.1.56 tracks/gnu-apl/exercises/rna-transcription/rna-transcription-example.apl
trackler-2.2.1.55 tracks/gnu-apl/exercises/rna-transcription/rna-transcription-example.apl
trackler-2.2.1.54 tracks/gnu-apl/exercises/rna-transcription/rna-transcription-example.apl
trackler-2.2.1.53 tracks/gnu-apl/exercises/rna-transcription/rna-transcription-example.apl
trackler-2.2.1.52 tracks/gnu-apl/exercises/rna-transcription/rna-transcription-example.apl
trackler-2.2.1.51 tracks/gnu-apl/exercises/rna-transcription/rna-transcription-example.apl
trackler-2.2.1.50 tracks/gnu-apl/exercises/rna-transcription/rna-transcription-example.apl
trackler-2.2.1.49 tracks/gnu-apl/exercises/rna-transcription/rna-transcription-example.apl
trackler-2.2.1.48 tracks/gnu-apl/exercises/rna-transcription/rna-transcription-example.apl