diff -r 703c7e42bf46 -r 24bc76d97db2 templates2/danube.scala --- a/templates2/danube.scala Wed Feb 05 12:24:27 2020 +0000 +++ b/templates2/danube.scala Fri Apr 10 12:12:48 2020 +0100 @@ -25,7 +25,7 @@ // testcases //----------- -//val ratings = get_csv_url(ratings_url) +//: //val movies = get_csv_url(movies_url) //ratings.length // 87313 @@ -36,7 +36,8 @@ // (2) Implement two functions that process the CSV-files from (1). The ratings // function filters out all ratings below 4 and ReTurns a list of // (userID, movieID) pairs. The movies function just ReTurns a list -// of (movieID, title) pairs. +// of (movieID, title) pairs. Note the input to these functions, that is +// the argument lines, will be the output of the function get_csv_url. //def process_ratings(lines: List[String]) : List[(String, String)] = ...