Sha256: 092cf5168f906f9920e878d2f84249b808c863dc5cbeda88caa9a28b98cd034a
Contents?: true
Size: 242 Bytes
Versions: 68
Compression:
Stored size: 242 Bytes
Contents
object RnaTranscription { fun ofDna(strand: String) = strand.map { when (it) { 'A' -> 'U' 'G' -> 'C' 'C' -> 'G' 'T' -> 'A' else -> it } }.joinToString("") }
Version data entries
68 entries across 68 versions & 1 rubygems