diff -r ef5f62bf5987 -r 9a04eb6a2291 templates2/danube.scala --- a/templates2/danube.scala Tue Oct 29 23:56:13 2019 +0000 +++ b/templates2/danube.scala Wed Oct 30 11:28:44 2019 +0000 @@ -1,7 +1,9 @@ -// Part 2 and 3 about Movie Recommendations +// Core Part about Movie Recommendations // at Danube.co.uk //=========================================== +object CW7b { + import io.Source import scala.util._ @@ -52,12 +54,6 @@ -//============================================== -// Do not change anything below, unless you want -// to submit the file for the advanced part 3! -//============================================== - - // (3) Implement a grouping function that calculates a Map // containing the userIDs and all the corresponding recommendations @@ -168,9 +164,10 @@ //} // helper functions -//List().take(2 +//List().take(2) //List(1).take(2) //List(1,2).take(2) //List(1,2,3).take(2) +}