tracks/kotlin/exercises/etl/.meta/src/reference/kotlin/ETL.kt in trackler-2.2.1.52 vs tracks/kotlin/exercises/etl/.meta/src/reference/kotlin/ETL.kt in trackler-2.2.1.53

- old
+ new

@@ -1,5 +1,11 @@ object ETL { + fun transform(old: Map<Int, Collection<Char>>): Map<Char, Int> { - return old.flatMap { mapEntry -> mapEntry.value.map { word -> Pair(word.toLowerCase(), mapEntry.key) } }.toMap() + return old.flatMap { mapEntry -> + mapEntry.value.map { word -> + Pair(word.toLowerCase(), mapEntry.key) + } + }.toMap() } + }