tracks/perl6/exercises/rna-transcription/Example.pm6 in trackler-2.2.1.73 vs tracks/perl6/exercises/rna-transcription/Example.pm6 in trackler-2.2.1.74
- old
+ new
@@ -1,6 +1,5 @@
-unit module RNA:ver<1>;
+unit module RNA:ver<2>;
sub to-rna ($dna) is export {
- fail if $dna ~~ /<-[AGCT]>/;
$dna.trans(<A G C T> => <U C G A>);
}