diff -r e689375abcc1 -r 22705d22c105 slides/slides03.tex --- a/slides/slides03.tex Fri Nov 23 01:52:37 2018 +0000 +++ b/slides/slides03.tex Tue Nov 27 21:41:59 2018 +0000 @@ -116,8 +116,8 @@ def process_ratings(lines: List[String]) = { val values = List[(String,String)]() - for(line <- lines){ - val splitList = line.split(",").toList + for(line <- lines) { + val splitList = ... if(splitList(2).toInt >= 4){ val userID = splitList(0) @@ -132,7 +132,7 @@ \end{lstlisting} \normalsize -What does this function always return? +What does this function (always) return? \end{frame}