changeset 403 | ffce7b61b446 |
parent 379 | 5616b45d656f |
--- a/main_testing2/danube_test4.scala Mon Nov 08 01:16:13 2021 +0000 +++ b/main_testing2/danube_test4.scala Mon Nov 08 01:39:00 2021 +0000 @@ -1,7 +1,7 @@ // first test -import CW7b._ +import M2._ def urban_groupById(ratings: List[(String, String)]) = ratings.groupBy(_._1).view.mapValues(_.map(_._2)).toMap