changeset 424 | daf561a83ba6 |
parent 389 | 4113d4d8cf62 |
--- a/main_marking2/danube_test5.scala Thu Jan 13 12:55:03 2022 +0000 +++ b/main_marking2/danube_test5.scala Mon Apr 11 23:55:27 2022 +0100 @@ -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